Profile Picture

TOON Shader Problems...

Posted By bexley 7 Years Ago
You don't have permission to rate!
Author
Message
bexley
bexley
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 114, Visits: 370
I'm trying to render and image in TOON shader mode, but when I use the normal texture transparencies for the hair I get the following:
https://forum.reallusion.com/uploads/images/d1c332e5-6d9d-43d7-92dc-794a.jpg
THis is a line that folows the head underneath the hair object.  What causes this, and is there a workaround?  I'm desperate to solve this because this is my other option (using alpha threshold), which looks like crap:
https://forum.reallusion.com/uploads/images/2e0c4284-b2a9-440d-bd30-e467.jpg
Any help appreciated!

--Bex.
bexley
bexley
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 114, Visits: 370
SOLVED... sort of.  Apparently the toon shader doesn't like any transparency....
https://forum.reallusion.com/uploads/images/4d707a3d-ea3f-4972-8315-6abc.jpg
Below is the original transparency map:
https://forum.reallusion.com/uploads/images/612f027a-2ee4-4608-b02a-d18e.jpg

I modified it to leave just the tips of the hair -- to try and get some semblance of the roots.
https://forum.reallusion.com/uploads/images/5e1084d2-a10b-4cc2-a717-026c.jpg
By juggling transparency values I was able to get something useful.  This doesn't "solve" the problem, but it is an option to using the Alpha Threshold.

Hope this is useful to someone.

--Bex.

PS the weird colours are due to experiments with the specular settings.
justaviking
justaviking
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)Distinguished Member (21.0K reputation)

Group: Forum Members
Last Active: 8 Months Ago
Posts: 8.2K, Visits: 26.5K
bexley (12/11/2017)
SOLVED... sort of.  Apparently the toon shader doesn't like any transparency....


I don't use the toon shader much, so maybe I'm misunderstanding, but in your first picture... wouldn't that be the expected result?  If you can see through the hair, you would see the skull (or should I say the hair base), and the toon shader will draw the black horizon line outline of the head.

Glad you got it working though.  Looks really cool.  Nice artwork.






iClone 7... Character Creator... Substance Designer/Painter... Blender... Audacity...
Desktop (homebuilt) - Windows 10, Ryzen 9 3900x CPU, GTX 1080 GPU (8GB), 32GB RAM, Asus X570 Pro motherboard, 2TB SSD, terabytes of disk space, dual  monitors.
Laptop - Windows 10, MSI GS63VR STEALTH-252, 16GB RAM, GTX 1060 (6GB), 256GB SSD and 1TB HDD

bexley
bexley
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 114, Visits: 370
Sorry!  I just noticed your post: "expected result" -- well, now that I think about it, you're probably right. :-)  It just wasn't the result I was looking for.

Good point, though!

--Bex.



Reading This Topic