Shadow
Represents the default platform specific shadow format.
阅读时间1 分钟最后更新于 1 个月前
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