ET can suddenly not find my shader file


(Avoc) #1

So, I’m working on my map and I’ve added a few new shaders to my main .shader file. I do a quick recompile, and suddenly it cannot find any of the shaders that are attached to the main.shader

I tried removing the two newest shaders, and recompiled, but it didnt work. The shaders are still missing.

Does anyone have a clue as how to solve this?


(shagileo) #2

hm, that’s weird - things not working all of a sudden
Take a look back in your shaderlist and see if your mapname is in it (I know I know, basic thing, but you never know)

if that’s not the issue, take a look if there’s no typo in the shader file name or in the file itself

Is there, by any chance, a q3map2_mymapname.shader in your scripts folder?


(Avoc) #3

Nope, there are no dynamic lights in the map. Everything was working just fine, and then suddenly it can’t find the main.shader (though it is able to locate all other shaders that the map uses.)
I’ve made sure its in the shaderlist, that its in the scripts folder, that the textures actually exist, and looked through the shader itself to check for anything that could break it. Super annoying :confused:


(.Chris.) #4

Mind putting the shader on pastebin? You be surprised the amount of times you miss stuff checking on your own work.


(Avoc) #5

Fixed it. Apparantly I had a .pk3 sneak into my etmain with an older version of the shader. Strange stuff! Oh well. Thanks for the help!