Shadow
Represents the default platform specific shadow format.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Experimental.Rendering
- Assembly: UnityEngine.CoreModule
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 format.
DefaultFormat.Shadow