Quick answer: receiving and casting need different checks
Receiving a shadow on a transparent surface and casting a shadow from it are separate tests. To test receiving, use a transparent Lit surface and an opaque object casting onto it. To test casting, use opaque ground beneath it. Use a light with real-time shadows so you can identify which side fails.
| Symptom | Check first | What the check separates |
|---|---|---|
| No shadow appears on a transparent surface | Lit shader, Receive Shadows and Transparent Receive Shadows | Receiver support versus light/shadow setup |
| Transparent object casts no shadow on the ground | Renderer Cast Shadows, graph settings and ShadowCaster pass | Visible transparency versus shadow-map rendering |
| Glass casts a solid dark silhouette | What the ShadowCaster pass writes | Standard shadow maps versus translucent transmission |
| Cutout edges or shadows pop | Alpha texture, threshold and corresponding shadow pass | Binary clipping versus smooth transparency |
1. Check shadow reception with the active renderer
- Confirm the camera uses the intended Universal Renderer, and that the active quality level selects the expected URP asset. This walkthrough concerns Universal Renderer shadow maps, not 2D Renderer lighting.
Light, occluder and receiving surface - Use a Lit Shader Graph target or a standard URP Lit control material. Check Receive Shadows where the graph/material exposes it. An Unlit target does not gain normal lighting reception simply by switching Surface Type.
Light, occluder and receiving surface - In URP 14 Universal Renderer data, check Transparent Receive Shadows. Verify that the light casts realtime shadows, that the opaque control caster is inside shadow distance, and that the receiver is in the expected lighting setup.
Light, occluder and receiving surface - Change one option at a time and compare the same camera view. Menu locations and material overrides vary by package version; use the actual Inspector for the installed version.
Light, occluder and receiving surface
2. Inspect casting independently of visible Alpha
Check the Mesh Renderer's Cast Shadows setting and the graph's Cast Shadows option when available. Inspect the generated shader or Frame Debugger to establish whether the object contributes through a ShadowCaster pass. Merely switching Surface Type to Transparent does not define the desired shadow representation.
A conventional shadow map records occlusion depth. It does not automatically turn a low visible Alpha into a pale, colored shadow. If a shadow remains solid, determine whether the caster is writing an opaque silhouette before changing the receiver.
3. Choose a representation that matches the material
- Leaves, fences or cutout art: consider an opaque surface with Alpha Clipping if a binary silhouette matches the artwork. Check that the caster uses the intended texture and threshold.
- Glass with an approximate silhouette: compare a simplified shadow-only proxy. Use a shadow-only renderer configuration and avoid a second visible mesh or doubled shadows.
- Soft or colored transmission: choose a technique designed for that requirement. Dithered shadows are an approximation and can shimmer; they need their own visual and performance evaluation.
Check overlaps and target builds
Repeat the comparison with two overlapping transparent surfaces, a moving light, different opacity values and the target Player. Do not force Depth Write merely to make a shadow appear: that changes depth behavior and can hide transparent surfaces behind each other.
Use an opaque caster/receiver control whenever several shadow settings change together. The diagram is conceptual and does not claim device-tested support for every URP version.