Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShadowsOnly

Object casts shadows, but is otherwise invisible in the Scene.
Read time 1 minuteLast updated 6 days 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.