mirror of
https://github.com/galacean/engine.git
synced 2026-05-19 19:46:19 +08:00
583 B
583 B
order, title, type, group, label
| order | title | type | group | label |
|---|---|---|---|---|
| 4 | Camera Depth Texture | Graphics | Camera | Graphics/Camera |
The camera can enable depth texture through the depthTextureMode property. After enabling the depth texture, you can access the depth texture in the Shader through the camera_DepthTexture property. Depth texture can be used to implement soft particles, water surface edge transitions, and some simple post-processing effects.
Note: Depth texture only renders non-transparent objects.