{"id":139,"date":"2010-03-28T01:51:46","date_gmt":"2010-03-27T23:51:46","guid":{"rendered":"http:\/\/euqahuba.com\/blog\/?p=139"},"modified":"2012-04-22T19:36:26","modified_gmt":"2012-04-22T17:36:26","slug":"shadows-in-nuke","status":"publish","type":"post","link":"https:\/\/euqahuba.com\/blog\/?p=139","title":{"rendered":"Shadows in Nuke"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/euqahuba.com\/blog\/wp-content\/uploads\/2010\/03\/nuke_shadows.jpg\" alt=\"Self-shadowing in Nuke.\" \/><\/p>\n<p>So here&#8217;s a little trick to get some dodgy hacky shadows in Nuke , by comparing projected and &#8220;rendered&#8221; pWorld passes we can derive the difference easily and use that as a shadow matte. Still aliasing and various issues, but works fairly well. Node requires geo, camera, bg and lights. Supports all regular nuke geo.<\/p>\n<blockquote><p>*Nuke script with gizmo\/group , Geo needs reloading.<\/p>\n<p><a title=\"Nuke script with gizmo\/group , Geo needs reloading.\" href=\"http:\/\/www.euqahuba.com\/tools\/nuke_shadows.rar\">http:\/\/www.euqahuba.com\/tools\/nuke_shadows.rar<\/a><\/p>\n<p>*Just the group in a txt file <a title=\"Just the group\" href=\"http:\/\/www.euqahuba.com\/tools\/shadows.txt\"><\/a><\/p>\n<p><a title=\"Just the group\" href=\"http:\/\/www.euqahuba.com\/tools\/shadows.txt\">http:\/\/www.euqahuba.com\/tools\/shadows.txt<\/a><\/p><\/blockquote>\n<p>Now, to trace the rays&#8230;Zomg!<\/p>\n<p>-theo<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So here&#8217;s a little trick to get some dodgy hacky shadows in Nuke , by comparing projected and &#8220;rendered&#8221; pWorld passes we can derive the difference easily and use that as a shadow matte. Still aliasing and various issues, but &hellip; <a href=\"https:\/\/euqahuba.com\/blog\/?p=139\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,1],"tags":[11],"class_list":["post-139","post","type-post","status-publish","format-standard","hentry","category-compositing","category-tips","category-uncategorized","tag-nuke-hacks-shadows-dodgy"],"_links":{"self":[{"href":"https:\/\/euqahuba.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/euqahuba.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/euqahuba.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/euqahuba.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/euqahuba.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=139"}],"version-history":[{"count":19,"href":"https:\/\/euqahuba.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/139\/revisions"}],"predecessor-version":[{"id":154,"href":"https:\/\/euqahuba.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/139\/revisions\/154"}],"wp:attachment":[{"href":"https:\/\/euqahuba.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/euqahuba.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/euqahuba.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}