Template:Texture naming conventions
From Unvanquished
Technology | File suffix | Material keyword | Material stage keyword | Notes |
---|---|---|---|---|
Diffuse | _d
|
N/A | diffuseMap
|
Red, Green, Blue colors. Opacity in alpha channel (white is fully opaque). |
Height | _h
|
N/A | heightMap
|
Greyscale, white is floor level, black is down. |
Normal | _n
|
N/A | normalMap
|
Red means X, Green means -Y, Blue means Z (see below). |
Normal with Height | _nh
|
N/A | normalHeightMap
|
Normal map in RGB channel, height map in alpha channel, ➡️ prefer doing separate files. |
Specular | _s
|
N/A | specularMap
|
Black means no reflection, white means a lot of reflection. |
Physical (Occlusion, Roughness, Metalness) | _orm
|
N/A | physicalMap
|
Occlusion in Red, Roughness in Green, Metalness in Blue, ⚠️ this is unused yet, there may be bugs. |
Glow (Addition) | _a
|
N/A | glowMap
|
Red, Green, Blue, black means no addition. |
Preview | _p
|
qer_editorImage
|
N/A | For usage in editor as preview, will also be used by map compiler to color bouncing lights. |