{"id":1515,"date":"2020-01-03T10:15:26","date_gmt":"2020-01-03T10:15:26","guid":{"rendered":"http:\/\/daniepstein.com\/daniepstein\/?p=1515"},"modified":"2020-01-03T10:15:26","modified_gmt":"2020-01-03T10:15:26","slug":"volumetric-effects","status":"publish","type":"post","link":"https:\/\/daniepstein.com\/daniepstein\/volumetric-effects\/","title":{"rendered":"Volumetric effects"},"content":{"rendered":"<div id=\"attachment_1516\" style=\"width: 1010px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/daniepstein.com\/daniepstein\/volumetric-effects\/alien-planet-render-1920-x-1080\/\" rel=\"attachment wp-att-1516\"><img aria-describedby=\"caption-attachment-1516\" data-attachment-id=\"1516\" data-permalink=\"https:\/\/daniepstein.com\/daniepstein\/volumetric-effects\/alien-planet-render-1920-x-1080\/\" data-orig-file=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-render-1920-x-1080.png\" data-orig-size=\"1920,1080\" data-comments-opened=\"0\" 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=\"alien planet render 1920 x 1080\" data-image-description=\"\" data-medium-file=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-render-1920-x-1080-300x169.png\" data-large-file=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-render-1920-x-1080-1024x576.png\" loading=\"lazy\" class=\"wp-image-1516\" src=\"http:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-render-1920-x-1080.png\" alt=\"\" width=\"1000\" height=\"563\" srcset=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-render-1920-x-1080.png 1920w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-render-1920-x-1080-300x169.png 300w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-render-1920-x-1080-768x432.png 768w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-render-1920-x-1080-1024x576.png 1024w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-render-1920-x-1080-500x281.png 500w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><p id=\"caption-attachment-1516\" class=\"wp-caption-text\">Volumetric scene<\/p><\/div>\n<p>What makes this scene is the volumetric lighting. There is nothing much to it, a basic\u00a0scene and a simple node setup.<\/p>\n<p>This is the scene:<\/p>\n<p><a href=\"http:\/\/daniepstein.com\/daniepstein\/volumetric-effects\/alien-planet-scene-explainer\/\" rel=\"attachment wp-att-1519\"><img data-attachment-id=\"1519\" data-permalink=\"https:\/\/daniepstein.com\/daniepstein\/volumetric-effects\/alien-planet-scene-explainer\/\" data-orig-file=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-scene-explainer.png\" data-orig-size=\"1045,775\" data-comments-opened=\"0\" 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=\"alien planet scene explainer\" data-image-description=\"\" data-medium-file=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-scene-explainer-300x222.png\" data-large-file=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-scene-explainer-1024x759.png\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1519\" src=\"http:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-scene-explainer.png\" alt=\"\" width=\"1045\" height=\"775\" srcset=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-scene-explainer.png 1045w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-scene-explainer-300x222.png 300w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-scene-explainer-768x570.png 768w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-scene-explainer-1024x759.png 1024w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-scene-explainer-405x300.png 405w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/a><\/p>\n<p>Keep the face facing the camera relatively far away from the camera\u00a0sensor plane otherwise things get hyper misty, but if that&#8217;s what you are after then move that plane nearer and have some fun with it. Also ensure that the camera frustum fully intersects the cube, otherwise bits of your scene will look weird since they will lack volumetrics.<\/p>\n<p>The key to this is the cube for volumetrics; here is the material:<\/p>\n<p><a href=\"http:\/\/daniepstein.com\/daniepstein\/volumetric-effects\/alien-planet-volumetric-nodes\/\" rel=\"attachment wp-att-1520\"><img data-attachment-id=\"1520\" data-permalink=\"https:\/\/daniepstein.com\/daniepstein\/volumetric-effects\/alien-planet-volumetric-nodes\/\" data-orig-file=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-volumetric-nodes.png\" data-orig-size=\"1189,554\" data-comments-opened=\"0\" 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=\"alien planet volumetric nodes\" data-image-description=\"\" data-medium-file=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-volumetric-nodes-300x140.png\" data-large-file=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-volumetric-nodes-1024x477.png\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1520\" src=\"http:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-volumetric-nodes.png\" alt=\"\" width=\"1189\" height=\"554\" srcset=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-volumetric-nodes.png 1189w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-volumetric-nodes-300x140.png 300w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-volumetric-nodes-768x358.png 768w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-volumetric-nodes-1024x477.png 1024w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-volumetric-nodes-500x233.png 500w\" sizes=\"(max-width: 1189px) 100vw, 1189px\" \/><\/a><\/p>\n<p>It&#8217;s important to set the Voronoi node to 2D, F1 and Euclidean.\u00a0That&#8217;s how the streaks are\u00a0generated in the volume. The Anistropy does little, but fiddling with the Blackbody\u00a0value can add some interesting lighting so it&#8217;s worth experimenting with, but can be set to zero otherwise.<\/p>\n<p>Just in case you were wondering how the\u00a0alien sphere texture was set up, again it&#8217;s really simple.<\/p>\n<p><a href=\"http:\/\/daniepstein.com\/daniepstein\/volumetric-effects\/alien-planet-nodes\/\" rel=\"attachment wp-att-1521\"><img data-attachment-id=\"1521\" data-permalink=\"https:\/\/daniepstein.com\/daniepstein\/volumetric-effects\/alien-planet-nodes\/\" data-orig-file=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-nodes.png\" data-orig-size=\"1902,910\" data-comments-opened=\"0\" 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=\"alien planet nodes\" data-image-description=\"\" data-medium-file=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-nodes-300x144.png\" data-large-file=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-nodes-1024x490.png\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1521\" src=\"http:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-nodes.png\" alt=\"\" width=\"1902\" height=\"910\" srcset=\"https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-nodes.png 1902w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-nodes-300x144.png 300w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-nodes-768x367.png 768w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-nodes-1024x490.png 1024w, https:\/\/daniepstein.com\/daniepstein\/wp-content\/uploads\/2020\/01\/alien-planet-nodes-500x239.png 500w\" sizes=\"(max-width: 1902px) 100vw, 1902px\" \/><\/a>The Musgrave node is used both for roughness masking as well as masking the areas to be lit by the glowing stuff.<\/p>\n<p>Tweaking the colour ramp on the left (no idea why the centre stop is blue, it should be white) will control the width of the looping bands. I kept them fairly thin.<\/p>\n<p>The geometry node was used as a shortcut to get the right hand side of the alien artefact red whilst the left is green with some smoothing in between. The mapping is used to rotate this effect into the desired position.<\/p>\n<p>The big issue with volumetrics is noise. There is no easy way to solve that. The new denoiser node makes a hash of this sort of scene for some reason, so the simple if time consuming solution was to render the scene at a far higher resolution and downres it. Works a charm and in this case gave it a sort of oil paint like look.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What makes this scene is the volumetric lighting. There is nothing much to it, a basic\u00a0scene and a simple node setup. This is the scene: Keep the face facing the camera relatively far away from the camera\u00a0sensor plane otherwise things &hellip; <a href=\"https:\/\/daniepstein.com\/daniepstein\/volumetric-effects\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":""},"categories":[5],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2UnW3-or","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/daniepstein.com\/daniepstein\/wp-json\/wp\/v2\/posts\/1515"}],"collection":[{"href":"https:\/\/daniepstein.com\/daniepstein\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daniepstein.com\/daniepstein\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daniepstein.com\/daniepstein\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daniepstein.com\/daniepstein\/wp-json\/wp\/v2\/comments?post=1515"}],"version-history":[{"count":4,"href":"https:\/\/daniepstein.com\/daniepstein\/wp-json\/wp\/v2\/posts\/1515\/revisions"}],"predecessor-version":[{"id":1523,"href":"https:\/\/daniepstein.com\/daniepstein\/wp-json\/wp\/v2\/posts\/1515\/revisions\/1523"}],"wp:attachment":[{"href":"https:\/\/daniepstein.com\/daniepstein\/wp-json\/wp\/v2\/media?parent=1515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daniepstein.com\/daniepstein\/wp-json\/wp\/v2\/categories?post=1515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daniepstein.com\/daniepstein\/wp-json\/wp\/v2\/tags?post=1515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}