q3map_xxx.shader file


(Mean Mr. Mustard) #1

I’m compiling my map with the -light - fast flags. I have a custom shader file in scripts called ‘mapname’.shader (where ‘mapname’ is the name of my map) - mostly for the terrain textures

When compiling, the compiler says map has shader file …/scripts/q3map_‘mapname’.shader. Then near the very end of compilation, the q3map_‘mapname’.shader file is written. If I make a pk3 and don’t include this q3map_‘mapname’.shader file, then my custom textures show up as the ‘evil black and orange squares’ - even if I include my shader file.

Obvisiously I’m doing something wrong and/or stupid.

Any help is appreciated!!


(chavo_one) #2

Are you using lightstyles? I thought the q3map_<mapname>.shader file was only generated if you were. If you are using lightstyles, then without this shader file, your lighting effects will be lost.

Someone correct me if I’m wrong here, but I seem to remember this was how it works.