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

DefaultFormat.Shadow

切换到手册

描述

表示特定于平台的默认阴影格式。

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: