Experimental: this API is experimental and might be changed or removed in the future.

DefaultFormat.Shadow

Description

Represents the default platform specific shadow format.

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.


Did you find this page useful? Please give it a rating: