{"id":189,"date":"2023-05-01T15:20:41","date_gmt":"2023-05-01T15:20:41","guid":{"rendered":"https:\/\/paulobrabo.com\/brabarous\/docs\/sturdy\/usage\/world-and-environment\/"},"modified":"2023-05-13T05:46:53","modified_gmt":"2023-05-13T05:46:53","slug":"world-and-environment","status":"publish","type":"docs","link":"https:\/\/paulobrabo.com\/brabarous\/docs\/sturdy\/usage\/world-and-environment\/","title":{"rendered":"World and Environment"},"content":{"rendered":"<p><a href=\"https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/gents.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/gents-1024x1024.webp\" alt=\"\" width=\"700\" height=\"700\" class=\"aligncenter size-large wp-image-366\" srcset=\"https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/gents-1024x1024.webp 1024w, https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/gents-300x300.webp 300w, https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/gents-150x150.webp 150w, https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/gents-768x768.webp 768w, https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/gents-1536x1536.webp 1536w, https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/gents-2048x2048.webp 2048w, https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/gents-700x700.webp 700w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<h2>World Shader Settings<\/h2>\n<p>The <strong>World Shader<\/strong> sets an environment&#8217;s light ambiance and background appearance. Since <strong><em>Sturdy<\/em><\/strong> makes color expression dependent on <a href=\"https:\/\/paulobrabo.com\/brabarous\/docs\/sturdy\/usage\/painting-with-light\/\">light position and intensity<\/a>, the <strong>World Shader<\/strong> will influence the shader&#8217;s effects a lot &#8212; maybe too much.<\/p>\n<p>It may actually be necessary to tone down the influence of the <strong>World Shader<\/strong>, so you you may <a href=\"https:\/\/paulobrabo.com\/brabarous\/docs\/sturdy\/usage\/painting-with-light\/\">paint color with lights<\/a> that you can directly control (say, the <strong>Sun Light<\/strong> or a couple of <strong>Area Lights<\/strong>).<\/p>\n<p>As a reference you may use, append or copy the <strong>Sturdy World<\/strong> world shader present on the provided Blender files. If you open it on the <strong>Shader Editor<\/strong>, you&#8217;ll find a simple node tree with two color inputs.<\/p>\n<p><a href=\"https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/world.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/world-1024x980.webp\" alt=\"\" width=\"700\" height=\"670\" class=\"aligncenter size-large wp-image-393\" srcset=\"https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/world-1024x980.webp 1024w, https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/world-300x287.webp 300w, https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/world-768x735.webp 768w, https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/world-700x670.webp 700w, https:\/\/paulobrabo.com\/brabarous\/wp-content\/uploads\/2023\/05\/world.webp 1339w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p><strong>\u25bc Environment Lighting<\/strong><br \/>\nYou may pick a color or plug anything you want here &#8212; say, an HDRI image on an <strong>Environment Texture<\/strong> node. Just but be sure to use a very low value on the <strong>Strength<\/strong> slider, for instance: 0.2. Most of the time it will be safe to leave <strong>Strength<\/strong> at 0 and control the environment lighting with standard lights on the viewport.<\/p>\n<p><strong>\u25bc Background Color<\/strong><br \/>\nThis will determine the background appearance.<br \/>\nPick a color if you want a flat background, or plug something else on the color input &#8212;  say, a custom HDRI image on an <strong>Environment Texture<\/strong> node.<\/p>\n<h2>Lights<\/h2>\n<p>Be sure to add lights to your scene: you&#8217;ll be<a href=\"https:\/\/paulobrabo.com\/brabarous\/docs\/sturdy\/usage\/painting-with-light\/\"> painting with light!<\/a><\/p>\n<p>If you want to use a <strong>Sun Light<\/strong>, use a <strong>Strength<\/strong> of <strong>\u03c0<\/strong> for maximal value mapping. Just write <em>pi<\/em> on the <strong>Strength<\/strong> field of the <strong>Sun Light<\/strong> you added and click enter. And then be sure to rotate the sun on all axes until you find the perfect view.<\/p>\n<p>Adjust the color expression of the shader with other lights, if you will. Check the provided Blender files for simple lighting setups you may adapt or use as a reference.<\/p>\n","protected":false},"featured_media":0,"parent":54,"menu_order":6,"template":"","doc_tag":[],"class_list":["post-189","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/paulobrabo.com\/brabarous\/wp-json\/wp\/v2\/docs\/189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/paulobrabo.com\/brabarous\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/paulobrabo.com\/brabarous\/wp-json\/wp\/v2\/types\/docs"}],"version-history":[{"count":10,"href":"https:\/\/paulobrabo.com\/brabarous\/wp-json\/wp\/v2\/docs\/189\/revisions"}],"predecessor-version":[{"id":394,"href":"https:\/\/paulobrabo.com\/brabarous\/wp-json\/wp\/v2\/docs\/189\/revisions\/394"}],"up":[{"embeddable":true,"href":"https:\/\/paulobrabo.com\/brabarous\/wp-json\/wp\/v2\/docs\/54"}],"next":[{"title":"Creating your own Sturdy materials","link":"https:\/\/paulobrabo.com\/brabarous\/docs\/sturdy\/usage\/creating-your-own-materials\/","href":"https:\/\/paulobrabo.com\/brabarous\/wp-json\/wp\/v2\/docs\/284"}],"prev":[{"title":"Render Settings","link":"https:\/\/paulobrabo.com\/brabarous\/docs\/sturdy\/usage\/render-settings\/","href":"https:\/\/paulobrabo.com\/brabarous\/wp-json\/wp\/v2\/docs\/180"}],"wp:attachment":[{"href":"https:\/\/paulobrabo.com\/brabarous\/wp-json\/wp\/v2\/media?parent=189"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/paulobrabo.com\/brabarous\/wp-json\/wp\/v2\/doc_tag?post=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}