Hi Guys,
I want to change the color of the shadow while using toon shader but I am not able to do so as there is no option of changing color. I suppose I need to do anything extra for this.
So can you please tell me what step I need to choose for this?
Thank you so much!
How to change shadow color when using octane toon shader
Forum rules
For new users: this forum is moderated. Your first post will appear only after it has been reviewed by a moderator, so it will not show up immediately.
This is necessary to avoid this forum being flooded by spam.
For new users: this forum is moderated. Your first post will appear only after it has been reviewed by a moderator, so it will not show up immediately.
This is necessary to avoid this forum being flooded by spam.
If I understand your question, shadow color is controlled by the diffuse ramp of the Toon Material being shadowed; at least that's how I've done it the few times I've needed toon shading. It's not specifically a shadow color, so much as it is the color of the surface when weakly illuminated, regardless of whether that illumination is direct or indirect. In this quick example, the shadows on the ground are green because the low end of the Toon Material's Diffuse ramp is set to that color.
Animation Technical Director - Washington DC
It might be necessary to adjust the shadow colour directly in the shader code in order to change the colour of the shadow in a toon shader. Locate the shadows area, then adjust the parameters or create a custom colour input.
- SprunkiRetake
- Posts: 1
- Joined: Thu May 29, 2025 2:54 am
Hi frankmci!
Based on your method I can make any color I want right?
Based on your method I can make any color I want right?
- Lillian Quinn
- Posts: 1
- Joined: Thu Jun 12, 2025 8:23 am
If you are using Unity Shader Graph (URP or HDRP): geometry arrow
Add a new color property — called ShadowColor.
Increase the luminance using the dot product between the surface and the directional luminance.
Use the Step node to determine where the shadow starts (simulates hard shadow edges).
Use the Lerp node to mix between the base color and `ShadShadowColor based on the output step.
Export the result to the base color (Albedo).
Add a new color property — called ShadowColor.
Increase the luminance using the dot product between the surface and the directional luminance.
Use the Step node to determine where the shadow starts (simulates hard shadow edges).
Use the Lerp node to mix between the base color and `ShadShadowColor based on the output step.
Export the result to the base color (Albedo).
Last edited by Lillian Quinn on Fri Jun 13, 2025 6:44 am, edited 1 time in total.
- evelynwang
- Posts: 1
- Joined: Tue Feb 11, 2025 9:03 am
You can try editing the shader code directly to add parameters to adjust the shadow color. Usually the toon shader defaults to black/grayscale, but you can find the line of code that deals with shadows and change the color value there. If you’re using Unity, you can create a custom shader variant with a new property.