Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TwoSided

Shadows are cast from this object, treating it as two-sided.
Read time 1 minuteLast updated 4 days ago

Definition

TwoSided = 2

Remarks

Shadow rendering will turn off backface culling, even if object's shader has backface culling on. This means that single-sided objects (like a Plane or a Quad) will cast shadows, even if the light is behind them.
Additional Resources: Renderer.shadowCastingMode.