{"id":5083,"date":"2019-10-01T00:07:56","date_gmt":"2019-09-30T16:07:56","guid":{"rendered":"https:\/\/unitycoder.com\/blog\/?p=5083"},"modified":"2019-10-01T15:38:23","modified_gmt":"2019-10-01T07:38:23","slug":"2-pass-standard-shader-with-see-through-wall-effect","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2019\/10\/01\/2-pass-standard-shader-with-see-through-wall-effect\/","title":{"rendered":"2 Pass Standard Shader with See-Through Wall Effect"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"356\" height=\"316\" data-attachment-id=\"5084\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2019\/10\/01\/2-pass-standard-shader-with-see-through-wall-effect\/seethroughwalls-unity-shader\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/seethroughwalls-unity-shader.gif?fit=356%2C316&amp;ssl=1\" data-orig-size=\"356,316\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"seethroughwalls-unity-shader\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/seethroughwalls-unity-shader.gif?fit=356%2C316&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/seethroughwalls-unity-shader.gif?resize=356%2C316&#038;ssl=1\" alt=\"\" class=\"wp-image-5084\"\/><\/figure>\n\n\n\n<p>Modified standard shader to make see through wall effect, with blurred texture and opacity.<br><br><strong>Shader source:<\/strong><br><a href=\"https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Assets\/Shaders\/3D\/Effects\/Standard-SeeThroughWalls.shader\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Assets\/Shaders\/3D\/Effects\/Standard-SeeThroughWalls.shader (opens in a new tab)\">https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Assets\/Shaders\/3D\/Effects\/Standard-SeeThroughWalls.shader<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"296\" height=\"256\" data-attachment-id=\"5085\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2019\/10\/01\/2-pass-standard-shader-with-see-through-wall-effect\/image-16\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/10\/image.png?fit=296%2C256&amp;ssl=1\" data-orig-size=\"296,256\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/10\/image.png?fit=296%2C256&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/10\/image.png?resize=296%2C256&#038;ssl=1\" alt=\"\" class=\"wp-image-5085\"\/><figcaption>Texture gets blurred behind wall<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Modified standard shader to make see through wall effect, with blurred texture and opacity. Shader source:https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Assets\/Shaders\/3D\/Effects\/Standard-SeeThroughWalls.shader<\/p>\n","protected":false},"author":1,"featured_media":5084,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-5083","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/09\/seethroughwalls-unity-shader.gif?fit=356%2C316&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-1jZ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=5083"}],"version-history":[{"count":1,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5083\/revisions"}],"predecessor-version":[{"id":5087,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5083\/revisions\/5087"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/5084"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=5083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=5083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=5083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}