{"id":3427,"date":"2018-01-25T19:23:45","date_gmt":"2018-01-25T08:23:45","guid":{"rendered":"http:\/\/greole.com\/blog\/?p=3427"},"modified":"2023-03-24T03:57:01","modified_gmt":"2023-03-24T03:57:01","slug":"test-rendering-a-transparent-hair-texture-in-blender","status":"publish","type":"post","link":"https:\/\/greole.com\/wordpress\/index.php\/2018\/01\/25\/test-rendering-a-transparent-hair-texture-in-blender\/","title":{"rendered":"Test rendering a transparent hair texture in #Blender"},"content":{"rendered":"<p>In my last post (about an hour ago), I commented that while occlusion maps were good, I wondered what the hair would be like if I used a texture that already had transparency. So I quickly cobbled one together in Photoshop that was based on the same two textures that I used in the last post.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-3428\" src=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-14-10.jpg\" alt=\"\" width=\"718\" height=\"719\" srcset=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-14-10.jpg 718w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-14-10-300x300.jpg 300w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-14-10-150x150.jpg 150w\" sizes=\"(max-width: 718px) 100vw, 718px\" \/><\/p>\n<p>Here is the node set-up that I used in Blender:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-3429\" src=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-13-40.jpg\" alt=\"\" width=\"1097\" height=\"357\" srcset=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-13-40.jpg 1097w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-13-40-300x98.jpg 300w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-13-40-1024x333.jpg 1024w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-13-40-768x250.jpg 768w\" sizes=\"(max-width: 1097px) 100vw, 1097px\" \/><\/p>\n<p>Note that it is a lot simpler.<\/p>\n<p>I also used the same Bezier curve.<\/p>\n<p><img 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>And then I rendered it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-3430\" src=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-16-20.jpg\" alt=\"\" width=\"531\" height=\"530\" srcset=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-16-20.jpg 595w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-16-20-300x300.jpg 300w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_19-16-20-150x150.jpg 150w\" sizes=\"(max-width: 531px) 100vw, 531px\" \/><\/p>\n<p>So let&#8217;s look again at the hair strand made with the occlusion map.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3419\" src=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-16-41.jpg\" alt=\"\" width=\"512\" height=\"580\" srcset=\"https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-16-41.jpg 512w, https:\/\/greole.com\/wordpress\/wp-content\/uploads\/2018\/01\/2018-01-25_15-16-41-265x300.jpg 265w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>I can see times when I would use one of the other. In fact, maybe even literally. Place the denser one (the one with transparency textures) underneath and layer the subtler one (with the occlusion map) over top.<\/p>\n<p>Well, I guess I have put the cart before the horse. Next post will probably need to be making transparent textures in Photoshop, GIMP, and Paint.NET. In all truth, it&#8217;s not that much different from making occlusion maps, but I should do it just to be thorough.<\/p>\n<p>Thanks for reading.<\/p>\n<p>Greg<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my last post (about an hour ago), I commented that while occlusion maps were good, I wondered what the hair would be like if I used a texture that already had transparency. So I quickly cobbled one together in Photoshop that was based on the same two textures that I used in the last post. Here is the node set-up that I used in Blender: Note that it is<\/p>\n","protected":false},"author":2,"featured_media":3361,"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":[410],"tags":[28,48,13],"series":[],"class_list":["entry","author-soulthief","post-3427","post","type-post","status-publish","format-standard","has-post-thumbnail","category-3d","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-06_21-59-49.jpg","_links":{"self":[{"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/3427","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=3427"}],"version-history":[{"count":1,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/3427\/revisions"}],"predecessor-version":[{"id":4264,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/3427\/revisions\/4264"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media\/3361"}],"wp:attachment":[{"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=3427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=3427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=3427"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/greole.com\/wordpress\/index.php\/wp-json\/wp\/v2\/series?post=3427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}