Game dev
Saved & recent

Toon shading

Also called: cel shading

Related terms: ramp, outline, NPR

A style that makes 3D look hand-drawn. The smooth falloff of diffuse light is snapped into two or three flat bands, and a dark outline is often added.

The banding is one line in the fragment shader: round the light value, or look it up in a small ramp texture.

Further reading
Unity: custom lighting and toon ramp shaders
SmoothToon

View in the full Game dev collection