ShadowsOnly
Object casts shadows, but is otherwise invisible in the Scene.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
ShadowsOnly = 3
Remarks
This is useful for certain effects or optimization purposes; essentially this makes an object that only casts shadows, but is otherwise invisible.
Additional Resources: Renderer.shadowCastingMode.