This is a cartoon shader for URP. Being entirely made in ShaderGraph, it provides control to technical artists directly from the graph, without having to dive into HLSL code.
🎨 ARTISTIC FEATURES
Toon shader with 2/3 hard bands of light and shadows, specular contribution, and additional artistic light effects.
It supports a main directional light and one additional light (spot or point). Despite being an Unlit shader, it can cast and receive shadows.
It features a sort of "sub-surface scattering": the object, when seen against the main light, is lit on its contours. The effect disappears when seen from the light direction.
Another main feature is a strong lateral shine, in the direction where the main light is coming from. The intensity of this effect can be tuned per-material or removed altogether (see properties below).
Other features:
(*) = With some knowledge of Shader Graph, it should be easy to add these as needed.
🧱 MATERIAL PROPERTIES
Here's a description of the exposed properties:
Base properties
These are your typical properties (Base map, Normal map, Tint colour...) made to mirror the usual base properties of Lit shaders.
Shading styles
Choose between two modes. Each one displays different properties.
👕 1: Skin or Textiles
Features a hard distinction between light and shadow, and the specular is rendered as fine brush strokes.
👱🏾♀️ 2: Hair or Metal
Features an additional band of shadows, and the specular is more of a blotch with some noise.
Toon properties
SAMPLE CONTENT
The package uses open-source character Jammo. Thanks to Mix&Jam creator André for providing such a cool character to use.
SPECIAL THANKS
The package uses some open-source custom lighting nodes for ShaderGraph made by Cyanilux.