Documentation | Support Email
Discord |Twitter | Youtube
The Toon Shader Youtube Tutorials
🎨 The Toon Shader is your ultimate toolkit for crafting awesome cartoon-style materials! Whether you're going for a bold, vibrant comic book vibe with cross-hatching, a smooth, soft animation look, or even a retro pop art style with halftones, this shader has got you covered. The best part? It’s designed for total artistic control, so you can craft any toon style you can dream up with just the “The Toon Shader” shader.
Hint: This asset is fully compatible with the See-through Shader asset!
For the 2D version supporting URP2D Sprites and Tilemaps, check out The Toon Shader 2D!
▰▱▰▱▰▱▰▱▰💥KABOOM!💥▰▱▰▱▰▱▰▱▰
🖍️ COLOR-BASED SHADING
In the Color-based method, you get two ways to control the shading style:
- Cell-based Shading: This gives you a sharp, comic-book-style look with flat blocks of color. It adapts to the light direction, giving you that classic cartoon appearance. Plus, you have complete control over the core shadow color, the terminator width and smoothness, as well as the form shadow color, allowing you to fine-tune the shading to get exactly the look you want.
- Gradient-based Shading: Want more color versatility? The gradient-based approach allows you to use rich, multi-color gradients to create smooth, dynamic transitions between light and shadow. You can design gradients with a wide range of colors, adding depth and complexity while still responding to light directions for that true cartoon feel.
If you prefer a simple, flat look with no shading effects, just turn off Toon Shading. This will give you a solid color appearance without any shading alterations.
▰▱▰▱▰▱▰▱▰💥POW!💥▰▱▰▱▰▱▰▱▰
💡 LIGHT-BASED SHADING
The Light-based method adds a layer of realism by interacting with scene lighting, offering two lighting models:
- Blinn-Phong: A fast and efficient lighting model that delivers simple yet effective highlights and shadows. It’s perfect for real-time applications where performance is crucial.
- Physically-Based Rendering (PBR): Offers accurate, advanced, and dynamic lighting by simulating real-world light interactions for detailed, lifelike effects.
Now, here’s where it gets fun! You can apply Toon Shading on top of your Light-based setup by enabling cell-based light partitioning. This adds that signature "toon" effect by dividing your lighting into distinct chunks, transforming realistic lighting into a playful, exaggerated cartoon look.
With Color-based Shading, you can add specular highlights and rim lighting for extra gloss and dramatic outlines. Light-based Shading lets you include rim lighting to emphasize the edges of your objects, enhancing their cartoonish appeal.
▰▱▰▱▰▱▰▱▰💥WHAM!💥▰▱▰▱▰▱▰▱▰
🎨 TOON STYLING
Styling is all about giving you full control over how your toon materials look. Whether you go for bold (Cross-)Hatching or fun Halftones (Polka Dots), you can adjust everything from pattern density to stroke or dot size, edge smoothness, opacity, and more. Both styles also allow for randomization, letting you add natural variation, just like in real life, where lines and patterns aren’t always perfectly uniform.
In URP, you can use styling with additional lights(multiple light sources), in BiRP, you are restricted to one directional light only.
🖋️ Hatching
For Hatching, you have control over:
- Density of the strokes
- Stroke size and falloff
- Edge smoothness
- Opacity and falloff
- Color
- Draw space: UV space or screen space
- Coordinate system: Cartesian or polar
- Blending modes: Normal(lerp), Additive, Subtractive, Multiply, Screen, Overlay, Soft Light, Lighten, Darken, Divide
- Dashes: Simple or shaped dashes with dash size, offset, roundness, density, and dash transition control
Hatching-Specific Options:
- Stroke direction: Control the angle of your hatches
- Number of hatching cells: Add more layers for a cr
Description sourced from the Unity Asset Store listing.