{"id":1508,"date":"2012-04-09T12:47:02","date_gmt":"2012-04-09T12:47:02","guid":{"rendered":"https:\/\/www.cg-blog.com\/?p=1508"},"modified":"2012-12-11T14:39:18","modified_gmt":"2012-12-11T14:39:18","slug":"nails-lighting-reflections","status":"publish","type":"post","link":"https:\/\/www.cg-blog.com\/index.php\/2012\/04\/09\/nails-lighting-reflections.htm","title":{"rendered":"Nails &#8211; Light balance and Reflections"},"content":{"rendered":"<p>Let\u00e2\u20ac\u2122s start STEP 2 of 5SR-Workflow\u00c2\u00ae : <strong>Lighting.<br \/>\n<\/strong>In this lesson we will talk about:<\/p>\n<ul>\n<li>Creating global lighting with HDRI<\/li>\n<li>Creating basic metal chrome for Nails<\/li>\n<li>Using a V-Ray Light to create nice reflections<\/li>\n<li>Learning how to fix black splotches<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/intro-nails-s2.jpg\" rel=\"lightboxintro\"><img decoding=\"async\" src=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/intro-nails-s2-thumb2.jpg\" alt=\"\" \/><\/a><\/p>\n<p>If you don&#8217;t know these topics below, take a look before to start this lesson:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.cg-blog.com\/index.php\/v-ray-for-beginners\/lesson-2\" target=\"_blank\">V-Ray Lesson #2: Gamma and Presets<\/a><em>\u00c2\u00a0 -premium area!<\/em><\/li>\n<li><a href=\"https:\/\/www.cg-blog.com\/index.php\/v-ray-for-beginners\/lesson-9\" target=\"_blank\">V-Ray Lesson #9 &#8211; HDRI<\/a>\u00c2\u00a0<em>\u00c2\u00a0-premium area!<\/em><\/li>\n<\/ul>\n<div><em><br \/>\n<\/em><\/div>\n<h2 style=\"text-align: center;\">Step 2: Lighting and more<\/h2>\n<p style=\"text-align: center;\"><strong>2.1 &#8211; BASIC LIGHTING WITH HDRI<\/strong><\/p>\n<p>This scene does not have complex lighting, but the important thing in this case is to create nice and catching reflections. This is because we have a metallic object. The easiest way to create a good global lighting with nice reflections is an Hdri map&#8230;<\/p>\n<p>[private Premium|Premium-1year|5trainings]<\/p>\n<p>The process is also explained in the \u00c2\u00a0<a href=\"https:\/\/www.cg-blog.com\/index.php\/v-ray-for-beginners\/lesson-9\" target=\"_blank\">V-Ray Lesson #9<\/a>, and it&#8217;s quite simple:<\/p>\n<ol>\n<li>Add a V-Ray Dome in the scene (wherever you want)<\/li>\n<li>create VRayHDRI in the &#8220;texture&#8221; channel<\/li>\n<li>Drag and drop it in the material editor, then load an .hdr file<\/li>\n<\/ol>\n<p>Create a basic <a href=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/metalchrome.gif\" rel=\"lightbox2\">Metal chrome<\/a>\u00c2\u00a0for the nails and render with &#8220;TEST-preset&#8221; &#8211; Result:<\/p>\n<p><a href=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/1hdri-chrome.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1514\" title=\"1hdri-chrome-thumb\" src=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/1hdri-chrome-thumb.jpg\" alt=\"\" width=\"599\" height=\"317\" srcset=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/1hdri-chrome-thumb.jpg 599w, https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/1hdri-chrome-thumb-300x158.jpg 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><br \/>\n<\/a><strong>PARAM.:\u00c2\u00a0<\/strong>V-Ray Physical Camera = Default values \/ V-Ray Dome multip. = 40 (units: default)<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><strong>2.2 &#8211; OOPS! BLACK SPLOTCHES<\/strong><\/p>\n<p>As you can see the nails have strage black splotches on the surface. To check if the problem is related to the material add a new cylinder, and apply the same material:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1510\" title=\"correct-splotched\" src=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/correct-splotched.jpg\" alt=\"\" width=\"599\" height=\"266\" srcset=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/correct-splotched.jpg 599w, https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/correct-splotched-300x133.jpg 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/p>\n<p>Metal Chrome on the cylinder appears correct, so the problem is the 3d nail: probably \u00c2\u00a0&#8220;<strong>overlapped faces<\/strong>&#8220;.<\/p>\n<p>There are many reasons for this artefact: imported model, strange manipulations with edit poly&#8230; it doesn&#8217;t matter, I just want to give you a simple tip on what has saved my life so many times. Here&#8217;s how to fix this problem:<\/p>\n<blockquote><p>Setting:<strong><br \/>\nRENDER SETUP<\/strong> &gt; <strong>SECONDARY RAYS BIAS = 0,001 \u00c2\u00a0 <\/strong>&#8211;<a href=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/sec-ray-bias.jpg\" rel=\"lightboxrays\">Look the screenshot<\/a>\u00c2\u00a0\/\u00c2\u00a0<a href=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/before-after.jpg\" rel=\"lightboxrays\">Look before-after<\/a><\/p><\/blockquote>\n<p><strong>\u00c2\u00ab\u00c2\u00a0<\/strong>A small positive offset that will be applied to all secondary rays; this can be used if you have overlapping faces in the scene to avoid the black splotches that may appear.\u00c2\u00bb &#8211; \u00c2\u00a0Check here\u00c2\u00a0<a href=\"http:\/\/www.spot3d.com\/vray\/help\/150SP1\/examples_switches.htm#ex1\" target=\"_blank\">more examples<\/a>.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>NOTE<\/strong><\/span>: If you load a preset, remember to set again Secondary Rays Bias! The preset overwrites this value.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><strong>2.3 &#8211; CREATE HIGHLIGHTS<\/strong><\/p>\n<p>Let&#8217;s create the reflections &#8211; Reflections are crucial to communicate the nature of the materials, especially working\u00c2\u00a0with glass and metals. The professional way to get nice reflections is not just &#8220;<em>put a light and see what happens<\/em>&#8220;, this is for beginners!\u00c2\u00a0<strong>You should figure out the best place for your reflections, then play with a V-Ray Light to create what&#8217;s in your mind. It&#8217;s not casual, it&#8217;s designed<\/strong>.<\/p>\n<p>To see how to do that watch this video:<\/p>\n<p><iframe loading=\"lazy\" src=\"http:\/\/player.vimeo.com\/video\/40004890?byline=0&amp;color=ff9933\" frameborder=\"0\" width=\"950\" height=\"534\"><\/iframe><\/p>\n<p><strong>Remember<\/strong>: V-Ray light for reflections should be &#8220;soft&#8221; to avoid affecting the shadows created from the primary light (hdri in this case).<\/p>\n<p><a href=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/ligh-bal-anal.jpg\" rel=\"lightboxanal\">Click here to see the Light balance analysis<\/a><br \/>\nThe final shadows are the same shadows we have with only Hdri: OK!<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><strong><strong>2.4 &#8211; CONCLUDING<\/strong><\/strong><\/p>\n<p>This is the result after this step:<\/p>\n<ul>\n<li>V-Ray Physical Camera = f8 \/ Shutter 200 \/ ISO 100 (Default values!)<\/li>\n<li>V-Ray Dome = multip. 40 (units: defaults)<\/li>\n<li>V-Ray light for reflections = multip. 18 watts<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/nailfinal-s2-b.jpg\" rel=\"lightboxfinal\"><img decoding=\"async\" src=\"https:\/\/www.cg-blog.com\/wp-content\/uploads\/2012\/04\/nailfinal-s2-thumb.jpg\" alt=\"\" \/><\/a><\/p>\n<p>In the next lesson I&#8217;ll show you how to create a complex V-Ray material to simulate\u00c2\u00a0<strong>Rusty Nails<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: center;\"><strong>EXERCISE<\/strong><\/h2>\n<p>It&#8217;s all about balancing between<strong> V-Ray light hdri<\/strong> and <strong>V-Ray light for reflections<\/strong>. In this lesson the application is easy, but the concepts are really deep. So, please read it again to understand the idea and try to create the same render above starting from this file:<\/p>\n<p><strong>Download<\/strong>: <a href=\"https:\/\/www.cg-blog.com\/files\/Premium\/nails\/step2-lighting-refl\/nails-s2---START.zip\">NAILS STEP2&#8212;START<\/a>\u00c2\u00a0| <a href=\"http:\/\/www.learnvray.com\/files\/nails\/nails-s2---START-OBJ.rar\">OBJ Version<\/a> (hdri is included)<\/p>\n<p>Tasks:<\/p>\n<ul>\n<li>Create global lighting with an Hdri<\/li>\n<li>Fix black splotches<\/li>\n<li>Create beautiful reflections with another (soft) V-Ray Light<\/li>\n<li>Work the lights separately<\/li>\n<\/ul>\n<p><strong>Solution<\/strong>: <a href=\"https:\/\/www.cg-blog.com\/files\/Premium\/nails\/step2-lighting-refl\/nails-s2---FINAL.zip\">NAILS STEP2&#8212;FINAL<\/a><\/p>\n<p>[\/private]<\/p>\n","protected":false},"excerpt":{"rendered":"<p><strong>LESSON #16<\/strong>: In this lesson we will talk about create global lighting with an Hdri, basic metal chrome for Nails, fix black splotches and how to create amazing highlights with a V-Ray Light.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false},"categories":[24,47],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.cg-blog.com\/index.php\/wp-json\/wp\/v2\/posts\/1508"}],"collection":[{"href":"https:\/\/www.cg-blog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cg-blog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cg-blog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cg-blog.com\/index.php\/wp-json\/wp\/v2\/comments?post=1508"}],"version-history":[{"count":0,"href":"https:\/\/www.cg-blog.com\/index.php\/wp-json\/wp\/v2\/posts\/1508\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cg-blog.com\/index.php\/wp-json\/wp\/v2\/media?parent=1508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cg-blog.com\/index.php\/wp-json\/wp\/v2\/categories?post=1508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cg-blog.com\/index.php\/wp-json\/wp\/v2\/tags?post=1508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}