Toon Shader FX
Welcome to the documentation and thank you for purchasing Toon Shader FX!
For any questions, don’t hesitate to contact me at: support@leastsquares.io
Please consider rating the package in your asset downloads or leave a review on the asset page. This will help the growth of this asset.
Getting Started
Setup
Setting up Toon Shader FX is really easy and simple. Just drag and drop the shader into a material and configure the shader settings until it fits your scene. Alternatively you can use one of the material already created in the demo and configure its attributes.
This asset works best in combination with simple textures. However solid colors also work well as shown in the demo scene.
The shader uses a technique called Cel Shading that makes graphics look flat by using less shading color instead of a shading gradient like normal gradient does.
Bytesized/Toon
Shader Reference
Property | Type | Description | Default Value |
---|---|---|---|
Main Color |
Color |
Color used for the material. Leave white if none | (1, 0, 0, 1) |
Main Texture |
Texture |
Texture used for the material | white |
Ambient Color |
Color |
Ambient color to add to the light calculation | (0.4,0.4,0.4,1) |
Specular Color |
Color |
Color to apply on the specular lighting stage | (0.9,0.9,0.9,1) |
Glossiness |
Float |
The size of the specular reflection | 32 |
Rim Color |
Color |
The color used in the rim lighting stage | (1,1,1,1) |
Rim Blend |
Range(0, 1) |
How much should the material be affected by rim lighting | 0.5 |
Rim Threshold |
Range(0, 1) |
Controls how smoothly the rim blends with other unlit parts | 0.1 |
Smoothness |
Range(0, 0.5) |
Controls the color transition between shadowed surfaces and non shadowed surfaces | 0.025 |
About us
We are a small company focused on building tools for game developers. Send us an email to careers@leastsquares.io if interested in working with us. For any other inquiries, feel free to contact us at hello@leastsquares.io or contact us on the discord
Sign up to our newsletter.
Want to receive news about discounts, new products and updates?