Toon Shader Bright Lighting?


https://forum.reallusion.com/Topic491384.aspx
Print Topic | Close Window

By jessicalcrichton - 3 Years Ago
So, the toon shader is having... issues for me and I can't find anything on Google or here about it. When I turn the shader on, it creates instant bright lights in two of my characters' hair. I have no directional lights on, only the ambient light set at white. The bright lighting only happens with the toon shader on.

Here's two screenshots -- one of the toon shader off, and one of it on. Nothing else is changed:

Off:



On:



I'll be playing with it while I wait for someone smarter than me to tell me what stupid thing I'm doing to make this happen. Thanks!
By jessicalcrichton - 3 Years Ago
Tried a different project I had saved, and it's doing the same thing. Nothing I do with the toon shader settings changes it:



This is driving me nuts!
By jessicalcrichton - 3 Years Ago
I don't know if this has anything to do with it, but the hair is also fuzzy and pixelated when they move. Is there something weird I'm doing with their hair? It's only on the light hair, too.

By mark - 3 Years Ago
No answer here but I've always had issues with the "look" of the "strand" type hair. Hair collections like the Swam hair always seem to do better for me at least.
By animagic - 3 Years Ago
I haven't used the toon shader in years, but it looks like the default IBL image is having an impact.

Of course, if IBL isn't even enabled, I wouldn't know...Unsure

The town shader is kind of primitive and may not work well with hair that is designed for Digital Human Hair. I think you need to somehow simplify your character design.
By planetstardragon - 3 Years Ago
in toon shader mode you don't adjust the brightness,  you adjust the color for brightness  - so look for the color buttons and slides...the ibl and other light features in the "visual panel" are also still active and effective for brightening up scenes.  

you need to dig into iclones lighting options a little more for the toon shading approach - they are repurposed to work differently than regular lighting, while the lights are the same, the way you use them is different.  ie using color for brightness rather than a formal brightness slider.
By animagic - 3 Years Ago
I just checked, and IBL is active, so that can also be used to influence your lighting. 

Of the actual lights, only one is active, which you select in the options for the Toon Shader.

If you use the Ambient Light, only the color is important, where black is no ambient light. 

I opened some old iClone 6 toon projects that use the Traditional shader setting and noticed a distinct difference once they are converted to PBR with weird artifacts, actually. So you might want and try the Traditional shader setting for your project as a test.
By 4u2ges - 3 Years Ago

It seems like a bug to me. Whenever you have an opacity map on PBR hair and enable Toon Shader, the value of Specular and Glossiness sliders are "leaking" from a Traditional shader and influence PBR.
In PBR/DHH those sliders are not available (grayed out) and should NOT have any influence. But with Toon shader enabled, they apparently do. That is why you cannot do anything to stop that shininess.
So switch PBR or DHH shader to Traditional on Hair, scroll down and set Specular and Glossiness to minimum.
Then you can switch back to PBR, or DHH. Or leave Tradition (which is what I would do).

The other way to fight that hair problem is to set Self-Illumination to max. It would effectively kill all specular (just have to remember, if you decide to render in normal mode, roughness/specular would not be in effect).

Finally, hair opacity. It's good to have detailed opacity maps for the hair in normal shader. For the toon shader however, it would be more natural to set Opacity maps strength to minimum.

And YES, Fibermesh (pixel) hair is not a good choice for iClone. They do not render well in any mode (except Iray).
By pinguintje - 3 Years Ago
Maybe this works.

-This is a picture without the Toon Shader

https://forum.reallusion.com/uploads/images/afa7abbb-3209-4f7d-87b5-5e1d.jpg

-Don't use the the Toon Shader Template in Atmosphere
-Go to Visual. Check the Toon Shader and check Interpolation. Keep the key light.

https://forum.reallusion.com/uploads/images/cc26006e-a653-42bf-b0a0-9064.jpg 

-This is the result.

https://forum.reallusion.com/uploads/images/0f4449ab-0427-4374-a1c7-7967.jpg

-The colour is maybe not good.
-You can correct this in the Modify Panel-Material List.
-Set the brightness on 15 or maybe higher for the base colour Skin head/body/arm/leg

https://forum.reallusion.com/uploads/images/fd093eba-9a0e-4ba2-9d43-9417.jpg

-This is the result with brightness on +15. No problems with the hair.

https://forum.reallusion.com/uploads/images/f9a38e2e-a4a1-487e-a13b-2c20.jpg

Best Regards,
Arie
By cyrmen - 3 Years Ago
Hi !

I had the same issue than Arie but I found a different solution (this problem is a pain), without modifying textures.

You have to turn of Digital Human Shader in the preference menu (Real-time Render Options).

It solved the problem of the weird skin color issue.

https://forum.reallusion.com/uploads/images/a8a80afd-d6d4-426e-92fa-6854.png

https://forum.reallusion.com/uploads/images/5f683a33-33e5-43bc-ba54-bac9.png
By cyrmen - 3 Years Ago
And, moreover, i have another tip for your reflexion issue.

Try to go to the modify panel of your light (key light for exemple) and set the multiplier on 0.

It solved my problemes.

Cheers
By General Picture Animation - 3 Years Ago
animagic is right: if you're displaying a toon character, it should have toon hair (smooth shapes)!
But fundamentally, iClone is good at Toon Shading... as long as you turn off the Toon Shader and don't trust it again!
(A) To render a flat, cel-shaded character:
Your first step is always to thoroughly toon the character textures:
- simplify the markings of features
- flatten the colors
- crank up high Self-Illumination.
You'll get perfectly flat cel-shading using the _DH Default_CC Atmosphere (same as in Character Creator):
- Turn off all lights.
- Use yellow or white Ambient light.
- Render the cel-shade video.
(B) If you want highlights on your character, render another pass using the the _DH Default_IC Atmosphere:
- Ambient light: black.
- Key light: white, multiplier 20x.
- Side, Back, and Floor Shadow light set to black, don't bother with the multiplier.
- In the Content/Effects pane, apply the Color Adjust Effect 3 times. They will appear in the Visual Tab under the Effects icon. Use max gray style and tweak the output to get as close to pure black shade with the white highlights as possible.
- Render the grayscale video.
(C) To composite the flat character with sharp celshaded shade:
Using a powerful free editor like VSDC, load the (A) video in the first track.
Load the (B) track above (A):
- Increase the contrast to reduce any grayscale to simple black on white.
- Change the Blend mode (for example, Addition).
- Reduce the track Opacity until the shade/highlight colors look right.
- Render the composite video (C)https://forum.reallusion.com/uploads/images/4c6b483c-5600-4828-a519-9142.png.