{"id":158,"date":"2011-08-21T18:07:41","date_gmt":"2011-08-21T15:07:41","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=158"},"modified":"2013-08-15T21:49:45","modified_gmt":"2013-08-15T18:49:45","slug":"mvertexshadows-1-0","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2011\/08\/21\/mvertexshadows-1-0\/","title":{"rendered":"mVertexShadows 1.0 (fake)"},"content":{"rendered":"<p><a href=\"http:\/\/unitycoder.com\/upload\/demos\/mvertexshadows1\/\" target=\"_blank\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"159\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2011\/08\/21\/mvertexshadows-1-0\/mvertexshadows\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexshadows.png?fit=680%2C479&amp;ssl=1\" data-orig-size=\"680,479\" 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=\"mvertexshadows\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexshadows.png?fit=300%2C211&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexshadows.png?fit=680%2C479&amp;ssl=1\" class=\"alignnone size-full wp-image-159\" title=\"mvertexshadows\" alt=\"\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexshadows.png?resize=680%2C479\" width=\"680\" height=\"479\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexshadows.png?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexshadows.png?resize=300%2C211&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p>Testing (fake) vertex shadows (while waiting for unity pro..maybe someday?)<\/p>\n<p>In the webplayer the light is directional, not pointlight.<br \/>\nSo it looks like the\u00a0 shadow is not casted from the light direction. (only direction of the light is taken, not position)<br \/>\nBut you could use pointlight (or multiple lights should work also) to cast shadows from their direction.<br \/>\nAlso now its casting just &#8220;line shadow&#8221;, not actual object bounds..<\/p>\n<p><strong>Webplayer:<br \/>\n<\/strong><a href=\"http:\/\/unitycoder.com\/upload\/demos\/mvertexshadows1\/\" target=\"_blank\">http:\/\/unitycoder.com\/upload\/demos\/mvertexshadows1\/<\/a><strong><br \/>\n<\/strong><\/p>\n<p><strong>Download source:<\/strong><br \/>\n<a title=\"Download\" href=\"http:\/\/unitycoder.com\/download\/index2.php?link=602&amp;uid=un1t3c0d5r\"> mVertexShadows1.unityPackage<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Testing (fake) vertex shadows (while waiting for unity pro..maybe someday?) In the webplayer the light is directional, not pointlight. So it looks like the\u00a0 shadow is not casted from the light direction. (only direction of the light is taken, not position) But you could use [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":159,"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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,13,3],"tags":[7,18,14,40,33],"class_list":["post-158","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-shaders","category-unity3d","tag-fake","tag-javascript","tag-shader","tag-shadow","tag-vertex"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexshadows.png?fit=680%2C479&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-2y","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/158","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=158"}],"version-history":[{"count":8,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"predecessor-version":[{"id":2254,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/158\/revisions\/2254"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/159"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}