This package provides a set of shaders and subshaders for Unity URP to create Toon, Comic, and Monochrome effects for your materials. The shaders are created using Shader Graph, allowing for easy modification to achieve the desired look. The package includes a variety of shaders, including Toon, Comic, and Monochrome shaders, as well as subshaders for depth normal features, borders, and more. The package also includes demos and interactive demos to help you get started.
The package includes the following shaders and subshaders:
- Toon Shaders:
+ Toon Shader: Basic Toon Shader
+ Toon Shader Heights: Toon Shaders with a real height map
+ Toon Shader Transparent: Toon Shader with transparency
+ Toon Shader Unlit: Toon Shader with no light at all
+ Toon Shader Sprite: Toon Shader for particle system
+ Toon Shader Terrain: Toon Shader for terrains
- Comic Shader:
+ Comic Shader: Basic Comic Shader
+ Comic Shader Heights: Comic Shaders with a real height map
+ Comic Shader Transparent: Comic Shader with transparency
+ Comic Shader Unlit: Comic Shader with no light at all
+ Comic Shader Sprite: Comic Shader for particle system
+ Comic Shader Terrain: Comic Shader for terrains
- Monochrome Shader:
+ Monochrome Shader: Basic Monochrome Shader
+ Monochrome Shader Heights: Monochrome Shaders with a real height map
+ Monochrome Shader Transparent: Monochrome Shader with transparency
+ Monochrome Shader Unlit: Monochrome Shader with no light at all
+ Monochrome Shader Sprite: Monochrome Shader for particle system
+ Monochrome Shader Terrain: Monochrome Shader for terrains
- Subshaders:
+ 2exp-x: Function 2^(-x)
+ Ambient: Applies ambient color to the input
+ BlendDiffuseSpecular: Blends diffuse and specular lights
+ BorderDepth: Generates borders based on Depth of Field
+ BorderNormal: Generates borders based on the map of Normals
+ Color Texture: Combines color and texture
+ Cull: Controls cull
+ Fog: Applies fog to the input
+ Light: Get the diffuse and specular maps for the main and the extra lights
+ LightAdditional: Custom function to get the addition lights info
+ LightAttenuation: Attenuates light on the distance
+ LightExtraMix: Mix all lights into one big map (diffuse, specular, ambient occlusion, and baked lights)
+ LightInfo: The custom function that gets basic light parameters from the main light
+ LightInfo attenuated: Get parsed attenuated parameters from the main light
+ LightMain: Gets the diffuse and specular maps from the main light
+ LightMainDiffuse: Gets the diffuse map from the main light
+ LightMainSpecular: The custom function that gets the specular map from the main light
+ LightMix: Mix all diffuse and specular light maps in one map for all diffuse and another one for specular
+ ObjectHeight: Recalculates position and Normal maps based on a height map
+ ObjectNormal: Applies an optional normal map
+ ToonPosterize: Applies a toon effect based on Posterize
+ Welf: Creates the welf effect
+ WorldInfo: Get the position, normal, and view world maps
+ MixFloatOnComponents: Mix a set of floats into one unique one
+ MixNormalTexturesOnComponents: Mix a set of normal textures into a unique one
+ MixVector4OnComponents: Mix a set of vector4s into one unique one
+ HoleTextureToAlpha: Convert a hole texture to an alpha map
+ Vector4ToUV: Generate a UV from a vector4
+ Vector4ToUVs: Generate 4 UVs from 4 vector4
+ TextureToMaskMap: Generate
- Demos:
+ Toon Shader demo
+ Comic Shader demo
+ Monochrome Shader demo
+ Interactive demo (3 previous demos where shaders change in an interactive way)
+ Samples Demo
+ Interactive Samples Demo





