This version of Unity is unsupported.

ShadowCastingMode.On

Description

Shadows are cast from this object.

Shadow rendering will use the same culling mode as specified in the object's shader. Typically this means that single-sided objects (like a Plane or a Quad) do not cast shadows if the light is behind them. Use ShadowCastingMode.TwoSided to treat objects as two-sided for shadow rendering.

See Also: Renderer.shadowCastingMode.