Translucency & Shadow Maps

intermediate tasks

Volumetric Lights 2 (URP) · Common Tasks

Translucency & Shadow Maps

Translucent shadow maps capture the colors of semi-transparent objects and project them through the volumetric light volume, creating effects like colored light through stained glass.

Translucent shadow example

Enabling Translucency

  1. In the Volumetric Light inspector, expand Shadow Occlusion.
  2. Enable Shadows if not already enabled.
  3. Enable Translucency.
Translucency option in the inspector

Setting Up Translucent Objects

Add the Volumetric Lights Translucency script to any transparent object you want to cast colored shadows.

VolumetricLightsTranslucency component

Settings

ParameterDescriptionDefault
TranslucencyEnables color capture from transparent objects.Off
Translucency IntensityStrength of the color tinting effect.1
Tip: Combine translucency with Direct Light Cast for colored light projection onto surfaces.
Was this page helpful?