{"id":2138,"date":"2013-08-06T05:12:01","date_gmt":"2013-08-06T02:12:01","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=2138"},"modified":"2013-08-06T05:19:01","modified_gmt":"2013-08-06T02:19:01","slug":"fake-realtime-shadows-with-surface-shader-v2-0","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2013\/08\/06\/fake-realtime-shadows-with-surface-shader-v2-0\/","title":{"rendered":"Fake Realtime Shadows With Surface Shader (v2.0)"},"content":{"rendered":"<p><a title=\"start webplayer demo\" href=\"http:\/\/unitycoder.com\/upload\/demos\/FakeShadowShaderUnity\/\" target=\"_blank\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2139\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2013\/08\/06\/fake-realtime-shadows-with-surface-shader-v2-0\/fake_realtime_shadow_surface_shader_unity_indie\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie.jpg?fit=530%2C518&amp;ssl=1\" data-orig-size=\"530,518\" 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;}\" data-image-title=\"fake_realtime_shadow_surface_shader_unity_indie\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie.jpg?fit=300%2C293&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie.jpg?fit=530%2C518&amp;ssl=1\" class=\"alignnone size-full wp-image-2139\" alt=\"fake_realtime_shadow_surface_shader_unity_indie\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie.jpg?resize=530%2C518\" width=\"530\" height=\"518\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie.jpg?w=530&amp;ssl=1 530w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie.jpg?resize=300%2C293&amp;ssl=1 300w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p>New realtime dynamic super version of the &#8220;<a title=\"http:\/\/unitycoder.com\/blog\/2012\/03\/15\/fake-realtime-shadows-with-surface-shader\/\" href=\"http:\/\/unitycoder.com\/blog\/2012\/03\/15\/fake-realtime-shadows-with-surface-shader\/\" target=\"_blank\">Fake Realtime Shadows With Surface Shader<\/a>&#8220;!<\/p>\n<p><strong>Webplayer:<\/strong><br \/>\n<a title=\"http:\/\/unitycoder.com\/upload\/demos\/FakeShadowShaderUnity\/\" href=\"http:\/\/unitycoder.com\/upload\/demos\/FakeShadowShaderUnity\/\" target=\"_blank\">http:\/\/unitycoder.com\/upload\/demos\/FakeShadowShaderUnity\/<\/a><\/p>\n<p>&#8212;<\/p>\n<p><strong>Image#2:<\/strong> Purpose was to make 2D shadow casting..but resolution is not good enough..<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2142\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2013\/08\/06\/fake-realtime-shadows-with-surface-shader-v2-0\/fake_realtime_shadow_surface_shader_unity_indie_2\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie_2.jpg?fit=539%2C526&amp;ssl=1\" data-orig-size=\"539,526\" 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;}\" data-image-title=\"fake_realtime_shadow_surface_shader_unity_indie_2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie_2.jpg?fit=300%2C292&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie_2.jpg?fit=539%2C526&amp;ssl=1\" class=\"alignnone size-full wp-image-2142\" alt=\"fake_realtime_shadow_surface_shader_unity_indie_2\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie_2.jpg?resize=539%2C526\" width=\"539\" height=\"526\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie_2.jpg?w=539&amp;ssl=1 539w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie_2.jpg?resize=300%2C292&amp;ssl=1 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/p>\n<p>&#8212;<\/p>\n<p><strong>Image#3:<\/strong> Or actually DX11 (#pragma target 5.0) gives extra &#8216;power&#8217;:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2145\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2013\/08\/06\/fake-realtime-shadows-with-surface-shader-v2-0\/fake_realtime_shadow_surface_shader_unity_indie_dx11\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie_dx11.jpg?fit=539%2C526&amp;ssl=1\" data-orig-size=\"539,526\" 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;}\" data-image-title=\"fake_realtime_shadow_surface_shader_unity_indie_dx11\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie_dx11.jpg?fit=300%2C292&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie_dx11.jpg?fit=539%2C526&amp;ssl=1\" class=\"alignnone size-full wp-image-2145\" alt=\"fake_realtime_shadow_surface_shader_unity_indie_dx11\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie_dx11.jpg?resize=539%2C526\" width=\"539\" height=\"526\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie_dx11.jpg?w=539&amp;ssl=1 539w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie_dx11.jpg?resize=300%2C292&amp;ssl=1 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>New realtime dynamic super version of the &#8220;Fake Realtime Shadows With Surface Shader&#8220;! Webplayer: http:\/\/unitycoder.com\/upload\/demos\/FakeShadowShaderUnity\/ &#8212; Image#2: Purpose was to make 2D shadow casting..but resolution is not good enough.. &#8212; Image#3: Or actually DX11 (#pragma target 5.0) gives extra &#8216;power&#8217;:<\/p>\n","protected":false},"author":1,"featured_media":2139,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_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}},"categories":[4,3],"tags":[7,48,14,40],"class_list":["post-2138","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-unity3d","tag-fake","tag-realtime","tag-shader","tag-shadow"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2013\/08\/fake_realtime_shadow_surface_shader_unity_indie.jpg?fit=530%2C518&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-yu","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/2138","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=2138"}],"version-history":[{"count":5,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/2138\/revisions"}],"predecessor-version":[{"id":2146,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/2138\/revisions\/2146"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/2139"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=2138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=2138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=2138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}