文档

Unity Engine

Download Unity

Unity Engine

Shadow

Represents the default platform specific shadow format.
阅读时间1 分钟最后更新于 2 个月前

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.