{"id":3415,"date":"2018-01-25T15:48:53","date_gmt":"2018-01-25T04:48:53","guid":{"rendered":"http:\/\/greole.com\/blog\/?p=3415"},"modified":"2023-03-24T03:30:52","modified_gmt":"2023-03-24T03:30:52","slug":"test-rendering-the-hair-opacity-map-in-blender","status":"publish","type":"post","link":"https:\/\/greole.com\/wordpress\/index.php\/2018\/01\/25\/test-rendering-the-hair-opacity-map-in-blender\/","title":{"rendered":"Test rendering the hair opacity map in #Blender"},"content":{"rendered":"<p>Hi folks,<\/p>\n<p>the purpose of today&#8217;s post is to document my testing of the hair opacity map that I created in my last post. I am doing so in Blender cycles and I will be assigning the hair texture and the opacity map to a bezier curve.<\/p>\n<p>Huh! A Bezier curve!<\/p>\n<p>Yep. At the end of my post, I shall place a link to a great Youtube tutorial called &#8220;How to Model Cartoon-Style Hair in Blender | Bezier Curves.&#8221; By adding the opacity map to the curve I hope to &#8220;de-cartoon&#8221; the hair.<\/p>\n<p>So here is the 3D Bezier curve that I created using the aforementioned tutorial.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-3416\" src=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-15-27.jpg\" alt=\"\" width=\"526\" height=\"519\" srcset=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-15-27.jpg 526w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-15-27-300x296.jpg 300w\" sizes=\"(max-width: 526px) 100vw, 526px\" \/><\/p>\n<p>So I intend to add the following two textures to this to create transparency.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-3361\" src=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-06_21-59-49.jpg\" alt=\"\" width=\"385\" height=\"383\" srcset=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-06_21-59-49.jpg 385w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-06_21-59-49-300x298.jpg 300w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-06_21-59-49-150x150.jpg 150w\" sizes=\"(max-width: 385px) 100vw, 385px\" \/><\/p>\n<p><img decoding=\"async\" class=\"aligncenter  wp-image-3412\" src=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-14_18-13-32.jpg\" alt=\"\" width=\"383\" height=\"294\" srcset=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-14_18-13-32.jpg 522w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-14_18-13-32-300x230.jpg 300w\" sizes=\"(max-width: 383px) 100vw, 383px\" \/><\/p>\n<p><span style=\"color: #993366;\">NOTE: At this point, I realised that I had the directions of my textures wrong in relation to the curve and hard to rotate both clockwise 90 degrees.<\/span><\/p>\n<p>So I made sure that I was in cycles, clicked on materials, and opened the node editor. Here is my configuration.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3417\" src=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-16-14.jpg\" alt=\"\" width=\"919\" height=\"413\" srcset=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-16-14.jpg 919w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-16-14-300x135.jpg 300w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-16-14-768x345.jpg 768w\" sizes=\"(max-width: 919px) 100vw, 919px\" \/><\/p>\n<p>The top texture item is the hair and the bottom texture item is the opacity map. The Overlay node places the opacity map over top of the hair map and you end up with this in the Diffuse BSDF.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3418\" src=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-35-21.jpg\" alt=\"\" width=\"309\" height=\"296\" srcset=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-35-21.jpg 309w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-35-21-300x287.jpg 300w\" sizes=\"(max-width: 309px) 100vw, 309px\" \/><\/p>\n<p>The combination of the Add Shader node and the Transparency node then turn the black colouring<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi folks, the purpose of today&#8217;s post is to document my testing of the hair opacity map that I created in my last post. I am doing so in Blender cycles and I will be assigning the hair texture and the opacity map to a bezier curve. Huh! A Bezier curve! Yep. At the end of my post, I shall place a link to a great Youtube tutorial called &#8220;How<\/p>\n","protected":false},"author":2,"featured_media":3388,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wpupg_custom_link":[],"wpupg_custom_link_behaviour":["default"],"wpupg_custom_image":[],"wpupg_custom_image_id":[],"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[411],"tags":[28,48,13],"series":[],"class_list":["entry","author-soulthief","post-3415","post","type-post","status-publish","format-standard","has-post-thumbnail","category-2d","tag-3d-art","tag-blender","tag-digital-art","clearfix"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-14_16-44-02.jpg","_links":{"self":[{"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/3415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=3415"}],"version-history":[{"count":1,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/3415\/revisions"}],"predecessor-version":[{"id":4236,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/3415\/revisions\/4236"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media\/3388"}],"wp:attachment":[{"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=3415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=3415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=3415"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/series?post=3415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}