WEBGL DEMO (same demo is included in the asset)
🎨 The Toon Shader 2D is your ultimate toolkit for crafting awesome cartoon-style materials for Sprites and TileMaps, fully compatible with URP 2D Lights!
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 2D” shader.
For the 3D version, check out The Toon Shader 3D
▰▱▰▱▰▱▰▱▰💥KABOOM!💥▰▱▰▱▰▱▰▱▰
You get two ways to control the shading style:
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!💥▰▱▰▱▰▱▰▱▰
💡 SPECULAR AND RIM LIGHTING
You can add specular highlights and rim lighting for extra gloss and dramatic outlines.
▰▱▰▱▰▱▰▱▰💥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.
It's fully compatible with URP 2D lights.
🖋️ Hatching
For Hatching, you have control over:
Hatching-Specific Options:
🔵 Halftones
For Halftones, you can adjust:
Halftone-Specific Options:
🌟 Randomization for Both Styles
Both Hatching and Halftones allow you to introduce randomization to any of these settings—whether it’s stroke/dot size, opacity, or density. This adds a natural, real-world feel, making your lines or dots vary in thickness, smoothness, or placement, just like a hand-drawn effect. It’s perfect for adding that organic touch to your toon materials!
▰▱▰▱▰▱▰▱▰💥BOOM!💥▰▱▰▱▰▱▰▱▰
📏 OUTLINES
Naturally, you can add outlines with ease! 🎨 Take full control over the color, and width, giving your toon assets that perfect comic book look.
▰▱▰▱▰▱▰▱▰💥ZING!💥▰▱▰▱▰▱▰▱▰
🚀 OPTIMIZATION
No need to worry about performance! Our one-click optimization solution 🚀 automatically generates the most efficient version of the shader based on your material settings, keeping everything fast and smooth.
▰▱▰▱▰▱▰▱▰💥ZAP!💥▰▱▰▱▰▱▰▱▰
💎 Supported Render Pipelines:
▰▱▰▱▰▱▰▱▰💥BLAM!💥▰▱▰▱▰▱▰▱▰
🎁 BONUSES
▰▱▰▱▰▱▰▱▰💥BANG!💥▰▱▰▱▰▱▰▱▰
❌NOT INCLUDED:
Note that "The Toon Shader 2D" installs itself as a Package, and appears under your Packages folder, not under Assets.