DepthTextureMode
DepthTextureMode is used to specify the mode for rendering depth texture in a camera. The depth texture is a 2D texture that contains depth information for each pixel in the scene, which is used for implementing depth-based effects, shadows, anti-aliasing, and other functionalities.
| attributes | description |
|---|---|
| None | Indicates that the depth texture is not rendered. |
| Depth | Represents a rendering depth texture. |
| DepthNormals | Represents a texture that stores depth and normal information. The normal texture is a 2D texture that contains the normal information for each pixel in the scene, used for implementing normal-based effects. |
| MotionVectors | Represents a render texture for depth and motion vector rendering. The motion vector texture is a 2D texture that contains motion vector information for each pixel in the scene, used for motion vector-based effects. |
