Shadowmap
A native shadowmap render texture format.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Shadowmap = 3
Remarks
This represents a format for which the GPU can automatically do shadowmap comparisons for. Unity uses this format internally for shadows, when supported. Note that some platforms or GPUs do not support Shadowmap format, in which case shadows end up using RenderTextureFormat.Depth format.
Additional Resources: RenderTexture class, SystemInfo.SupportsRenderTextureFormat.