Documentation / Node reference / mat nodes
mat/MeshBasicDepthTexture
Creates an unlit material showing a depth texture in grey.
Mesh
Shows a depth texture, such as a shadow map, on a mesh. Use it to inspect a depth pass.
Parameters
| Name | Type | What it does |
|---|---|---|
| color | Color4 | Only its alpha is used, to fade the material. |
| path | NodePath | The TEX node holding the depth texture. |
| transparencyMode | UInt8 AUTO · OPAQUE · MASK · BLEND | How the material's alpha is drawn. |
| sides | UInt8 FRONT · BACK · BOTH | Which side of each triangle is drawn. |
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.