UTSShadeColors is a Unity script that automatically generates toon shading colors based on a base color, applying color shifts to create a first and second shade. You can easily adjust the hue, saturation, and value differences for custom shading effects. This script is useful for achieving dynamic and automated toon shading effects in your materials.
- Attach this script to a GameObject with a MeshRenderer with a Unity Toon material.
- Adjust the
Base Colorto set the initial color. - Tweak the
Hue Shift,Saturation Diff, andValue Diffproperties to customize the shading effect. - Press "Set Colors" in the Inspector or enable
Show Previewto automatically update the colors when changes are made (Editor only). - The first and second shade colors are calculated based on the base color and hue shift.