-
-
Notifications
You must be signed in to change notification settings - Fork 29
Additional Lights
Apart from the main light, Toon RP supports additional (point) lights.
In the Toon RP pipeline asset's Camera Renderer
section, find Additional Lights
and set it to either Per Pixel
or Per Vertex
.
📝 Note: this page describes the traditional approach for additional lights. Toon RP also provides an option of Fake Additional Lights.
⚠️ Warning: additional lights have a limit of 4 lights per object.
Calculated in the pixel shader using the same diffuse ramp as the main light (global or overridden).
Calculated in the vertex shader and passed to the pixel shader as an varying (interpolated) value. It uses a basic Lambertian lighting model.
The accuracy of this method is highly dependent on the polygon density of rendered geometry and is, generally, much lower than in Per Pixel
. However, this makes Per Vertex
significantly more performant.
- Only points lights are supported.
- Additional lights do not support shadows.
Getting Started
Platform Support
Lighting and Shadows
- Global Ramp
- Shadows
- Variance Shadow Maps (VSM)
- Soft Shadows
- Additional Lights
- Additional Light Shadows
- Tiled Lighting (Forward+)
- Blob Shadows
- Fake Additional Lights
- Baked Lighting
Render Quality
Miscellaneous
Post-Processing
- Post-Processing Stack
- Bloom
- Inverted Hull Outline
- Screen-Space Outline
- SSAO
- Motion Blur
- Sharpen
- Light Scattering
Making Custom Shaders
Debugging