Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Shadow

Represents the default platform specific shadow format.
Read time 1 minuteLast updated 5 days ago

Definition

Shadow = 3

Remarks

To create a RenderTexture that can be used as a shadow map, you also need to set the ShadowSamplingMode using RenderTextureDescriptor.shadowSamplingMode. Unity does this automatically if you call the RenderTexture constructor using the
DefaultFormat.Shadow
format.