Profile Picture

TOON Shader Problems...

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

Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)

Group: Forum Members
Last Active: Last Week
Posts: 99, Visits: 331
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 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)

Group: Forum Members
Last Active: Last Week
Posts: 99, Visits: 331
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 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (15.2K reputation)Distinguished Member (15.2K reputation)Distinguished Member (15.2K reputation)Distinguished Member (15.2K reputation)Distinguished Member (15.2K reputation)Distinguished Member (15.2K reputation)Distinguished Member (15.2K reputation)Distinguished Member (15.2K reputation)Distinguished Member (15.2K reputation)

Group: Forum Members
Last Active: 8 hours ago
Posts: 7.5K, Visits: 22.9K
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 7, i7-3770k CPU, GTX 1080 GPU (8GB), 16GB RAM, Asus P8Z77-V Pro motherboard, 500 GB 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 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)Distinguished Member (1.5K reputation)

Group: Forum Members
Last Active: Last Week
Posts: 99, Visits: 331
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