-
-
Notifications
You must be signed in to change notification settings - Fork 30
Blob Shadows
Blob shadows are very performant circular shadows, which are projected on the XZ plane.
Because of their perspective, a high-quality picture can be achieved with a very low resolution shadow map.
📝 Note: Blob Shadows support shadow ramp and pattern specified in the Toon RP pipeline asset.
In the pipeline asset's Shadows
section, find Mode
and set it to Blobs
.
For shadow receivers' materials:
- Ensure they use
Toon RP/Default
,Toon RP/Default (Lite)
, or aDefault
type graph shaders. - Enable
Receive Blob Shadows
.
⚠️ Warning: an object should not cast and receive blob shadows at the same time as this causes full self-shadowing.
Add Blob Shadow Renderer
components to all shadow casting geometries and configure their radii.
- Set the desired shape of the renderer (
Shadow Type
). - Tweak
Threshold
,Smoothness
,Mode
, andSaturation
to achieve the desired look.
Blob shadow modes define how blobs should blend with one another on intersection.
Shadows "merge" when getting close.
Blob shadows can be of various shapes:
- Circle
- Square
- Baked
- To bake a shadow of a model, go to the Project window, right click and select
Create/Toon RP/Baked Blob Shadow
. - Specify a model (or a prefab) to bake, configure parameters, and click
Apply
. - The resulting asset can be used as a texture in the
Blob Shadow Renderer/Baked Shadow Texture
.
- To bake a shadow of a model, go to the Project window, right click and select
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