Bring Your Concept Art to Life with OccaSoftware's Toon Shader
Introducing OccaSoftware's Toon Shader, the most flexible and customizable toon shading solution for Unity URP. With OccaSoftware's Toon Shader, you can design beautifully shaded materials that perfectly match your concept art and bring your game to life.
Create Stunning Materials with Ease
Whether you want to create opaque, alpha cutout, or transparent materials, OccaSoftware's Toon Shader has you covered. You can cast shadows on any material and receive shadows from any material, giving your game a more natural and immersive look. Customize your specular and rim highlights to create unique and eye-catching materials. With the configurable lighting options, you have complete control over the final look of your materials.
Debug Your Materials with Confidence
With OccaSoftware's Toon Shader, you can isolate each contribution to the final look with debug views. This allows you to quickly identify and fix any issues, ensuring that your materials look their best. The responsive editor makes it easy to make changes on the fly and get your materials looking just right.
Fully Customizable and Compatible
Developed using HLSL, Sub Graphs, and Shader Graph, OccaSoftware's Toon Shader can be customized to fit your needs. It supports up to 8 concurrent additional lights, so you can create truly stunning lighting effects. Toon Shader fully supports deferred rendering in URP and has transparency and blend modes support, including alpha clipping. You can even control which mesh faces render and hide shading on an object if you only want to use the base color textures from the model.
Elevate Your Game with OccaSoftware's Toon Shader
OccaSoftware's Toon Shader is the ultimate solution for creating stunning, beautiful, and immersive materials in Unity URP. Whether you're an experienced developer or just starting out, you'll love the ease and flexibility of this toon shading solution. So why wait? Download OccaSoftware's Toon Shader today and start creating the game of your dreams!
Frequently Asked Questions
Everything you need to know about this asset.
No FAQs found yet.
Join the OccaSoftware Community on Discord if you have any question related to this asset.
Can I edit the Toon Shader?
Yes. Toon Kit 2 was developed using HLSL, Sub Graphs, and Shader Graph. If you're familiar with Shader Graph and HLSL, you can customize it as you see fit.
Does Toon Kit 2 support Additional Lights?
Yes. Objects using the Toon Kit 2 materials can receive up to 8 concurrent Additional Lights, just like Unity URP's native lit shader.
Can you cast and receive shadows?
Yes. Toon Kit 2 materials cast shadows. They can also receive shadows.
Can I change the Render Queue?
Yes. Navigate to the material you want to edit, select it, then look to the bottom of the Inspector window for the Render Queue property. Note that Toon Kit 2 will automatically override the Render Queue that you have set when you change the material Surface from Opaque to Transparent, or if you enable or disable Alpha Clipping. You can simply set the intended Render Queue again once you have set up the material.
Is Toon Kit 2 compatible with deferred rendering?
Yes. Toon Kit 2 fully supports deferred rendering in URP.
Does Toon Kit 2 have Transparency and Blend Modes support?
Yes. The asset supports Transparent materials using Alpha, Additive, Multiply, and Premultiply blend modes.
Does Toon Kit 2 support Alpha Clipping?
Yes. You can enable alpha clipping for the Toon Kit material shader.
Can I control which mesh faces render (e.g., Front Face culling, Back Face culling)?
Yes. You can enable two-sided, front face only, or back face only mesh rendering using Toon Kit 2.
Toon Kit 2 renders my object with toon shading, but I only want to use the base color textures from the model. How do I do that?
You can hide the shading on the object by setting the View Options property. Simply look for the Advanced section in the Editor GUI, then click the View Options property and set it to Base Color.
* This work is based on "Witch Style Anime" (https://sketchfab.com/3d-models/witch-style-anime-bca9b441bceb4099a24c6b624ca80f2a) by neutralize (https://sketchfab.com/neutralize) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)
My object is completely black when it's in shadow. How do I fix it?
You need to enable Ambient Lighting using the Toon Kit 2 Manager script (ToonKit2Manager.cs). You also need to set the Ambient Lighting on each Toon Kit 2 material to a value greater than zero.
What is included in the asset package?
- 1 Custom Editor GUI Script (ToonKit2EditorGUI.cs)
- 1 Toon Kit 2 Ambient Lighting and Shadow Strength manager (ToonKit2Manager.cs)
- 5 Shader Graph Sub Graphs
- 1 Shader Graph
- 1 Custom Function HLSL Include (ToonKit2_HLSL)
- 10 Specular Dab Textures (Circle, Circle Gradient, Dots, Quads, Rects, Rounded Box, Star, Lines, Spatch, and Watercolor) at 64px or 128px, variously.
- 14 Toon Kit 2 demo materials
- 1 Skybox Shader
- 4 Skybox demo materials
- 2 Models (Torus and Torus Knot)
- 2 Prefabs (Torus and Torus Knot)
- 3 Scripts (Oscillate, Pan, and Rotate)
- 8 Title Textures
- 5 PBR Materials
- 2 Checker Textures
Can I control the opacity of Transparent objects?
Yes. Transparent objects use the Base Map's alpha channel as well as the value set in the Opacity slider. These two values are multiplied together to give the final alpha value for each fragment on the Toon Kit 2-shaded material.