Yesterday, 03:55 AM
Hi all,
I am super new to Xonotic mapping and have an issue with using a custom texture. This is my setup, I tried setting it up with the help of ChatGPT...
/home/josch/Games/Xonotic/data/textures/garden:
- grass_01.jpg
- grass_01_normal.jpg
/home/josch/Games/Xonotic/data/scripts:
garden.shader
shaderlist.txt -> only contains the word "garden"
the garde.shader contains:
textures/garden/grass_01
{
qer_editorimage textures/garden/grass_01.jpg
{
map textures/garden/grass_01.jpg
}
normalmap textures/garden/grass_01_normal.jpg
}
In netradiant (working on linux) I see the garden directory in the texturebrowser, but it shows the diffuse AND the normal map. According to ChatGPT a sign of the shader not working.
I can assign the diffuse texture to a brush, but when I go ingame the texture is invisible (not showing at all).
Any help on what I am doing wrong would be highly appreciated
Thansk!
I am super new to Xonotic mapping and have an issue with using a custom texture. This is my setup, I tried setting it up with the help of ChatGPT...
/home/josch/Games/Xonotic/data/textures/garden:
- grass_01.jpg
- grass_01_normal.jpg
/home/josch/Games/Xonotic/data/scripts:
garden.shader
shaderlist.txt -> only contains the word "garden"
the garde.shader contains:
textures/garden/grass_01
{
qer_editorimage textures/garden/grass_01.jpg
{
map textures/garden/grass_01.jpg
}
normalmap textures/garden/grass_01_normal.jpg
}
In netradiant (working on linux) I see the garden directory in the texturebrowser, but it shows the diffuse AND the normal map. According to ChatGPT a sign of the shader not working.
I can assign the diffuse texture to a brush, but when I go ingame the texture is invisible (not showing at all).
Any help on what I am doing wrong would be highly appreciated

Thansk!

