Hello, it's me. Nobody knows who I am. Nobody cares. I love my anonymity! And I'm gonna be so annoying to everyone here.
Anyways, someone I know decided to take a break from the Jedi Academy modding community and make a Tremulous map. I'm tagging along with him, but I have run into a major issue. I cannot get any custom shaders to work. All I get is the gray-and-white grid squares appearing. I also get a message in the console saying that the textures have failed to load. I did /sv_pure 0, but that didn't help, either.
I have put the shaders in shaderlist.txt, so I don't think that's the problem. Radiant and Jedi Academy can load the shaders fine, but Tremulous can't. Why would this be? I need my shaders!!
Here's the code for one of the shaders:
textures/testmap/portal
{
qer_editorimage textures/imp_mine/kplate3
surfaceparm nomarks
surfaceparm nonsolid
surfaceparm nonopaque
surfaceparm trans
q3map_nolightmap
q3map_novertexshadows
{
map $whiteimage
blendFunc GL_ONE GL_ONE
rgbGen wave sin -999.5 1000 0 0.064
}
{
map textures/spiral_graphics/cape_amethyst
blendFunc GL_ONE GL_SRC_ALPHA
rgbGen wave sin 0.35 0.04 1 0.6
alphaGen const 0.6
tcMod rotate 35
}
{
map textures/spiral_graphics/starburst
blendFunc GL_ONE GL_SRC_ALPHA
rgbGen const ( 0.380000 0.380000 0.380000 )
alphaGen const 0.9
tcMod rotate 325
}
}
textures/testmap/portal2
{
qer_editorimage textures/common/water_1
surfaceparm nomarks
surfaceparm nonsolid
surfaceparm nonopaque
surfaceparm trans
q3map_nolightmap
q3map_novertexshadows
{
map $whiteimage
blendFunc GL_ONE GL_ONE
rgbGen wave sin -999 1000 0 0.2
}
{
map $whiteimage
blendFunc GL_ONE GL_ONE
rgbGen wave sin -999 1000 0 0.35
}
{
map textures/spiral_graphics/spiral
blendFunc GL_ONE GL_ONE
rgbGen const ( 0.500000 0.500000 0.500000 )
alphaGen const 0.2
tcMod scroll 6 -0.2
}
{
map textures/spiral_graphics/cape_amethyst
blendFunc GL_ONE GL_SRC_ALPHA
rgbGen wave sin 0.25 0.06 1 0.5
alphaGen const 0.8
tcMod rotate 35
}
}
It's a shame, because I wanted to port a JA map (legally) to Tremulous, but I can't do it because the shader didn't work. It would be so much fun, too.