Documentation / Node reference / mat nodes
mat/MeshBasicTexture
Creates an unlit material showing a texture.
Mesh
Draws a texture on a mesh through its uv attribute, with no lighting. For the texture's alpha to show, set transparencyMode to BLEND or MASK.
Parameters
| Name | Type | What it does |
|---|---|---|
| color | Color4 | Only its alpha is used, multiplying the texture's alpha. |
| path | NodePath | The TEX node holding the texture. |
| transparencyMode | UInt8 AUTO · OPAQUE · MASK · BLEND | How the material's alpha is drawn. |
| alphaCutoff | Float | Alpha below which pixels are cut out, shadows included. |
| 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.