Documentation

Unity Engine

Unity Engine

ShadowsOnly

Object casts shadows, but is otherwise invisible in the Scene.
Read time 1 minuteLast updated 2 months ago

Definition

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.