1 h1. Textures in Xonotic
5 There are 2 material systems in Xonotic that can work together.
9 First is based by texture name, it reads texture suffix
12 * *filename*: texturename.tga
13 * The diffuse texture, not much to say.
16 * *filename*: texturename_norm.tga
17 * Xonotic uses OpenGL style tangent space normal map. (Inverted Y/green channel)
18 * You can put height map in normal maps alpha channel and it will be used when offset or relief mapping is on.
21 * *filename*: texturename / texturename_norm in 32bit (tga). Alpha channel is loaded from image file.
22 * *filename*: texturename_alpha.jpg *note ONLY works with jpg at the moment*
26 * *filename*: texturename_bump.tga
27 * Normal map have higher priority and it will overwrite bump map
28 * Its wise to convert your bump map to a normal map, because that way you can have higher roughness since height of all bump map is limited by cvar
30 *Specular, shininess strength*
31 * *filename*: texturename_gloss
34 *Fullbright map / self-illumination map*
35 * *filename*: texturename_glow
36 * This textures specify areas that will always render shadeless, they will be very bright and will glow in the dark.
38 *Custom / Team colour*
39 * *filename*: texturename_pants
41 * This one tells what part of texture will use custom colour.
42 * Make it grayscale and leave same area 100% black in diffuse texture.
44 * *filename*: texturename_shirt
45 * Same as texturename_pants, for secondary colour.
49 Second material system is simplified Quake 3™ shader system.
50 The main difference is that you can use only 1 pass, with a few exceptions:
51 * Lightmap pass is allowed
52 * Blend shaders are allowed (blending two diffuse textures + lightmap). Same syntax as in quake3.