I’ve got three textures here, two of which are going to be banners (think flags from RtCW/ET), and one which is just a tarp to hang over something (tatcloth)…
Also, FYI, this is Jedi Academy.
Here’s the shaders as they stand now:
textures/gonk/tatcloth
{
qer_editorimage textures/gonk/tatcloth
q3map_lightimage textures/gonk/tatcloth
q3map_nolightmap
surfaceparm alphashadow
surfaceparm trans
cull twosided
{
map textures/gonk/tatcloth
alphaFunc GE192
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
depthWrite
rgbGen vertex
}
}
textures/gonk/tatbanner
{
qer_editorimage textures/gonk/tatbanner
q3map_nolightmap
surfaceparm trans
cull twosided
deformVertexes wave 10 sin 0 2 0 .2
{
map textures/gonk/tatbanner
alphaFunc GE128
nextbundle
depthWrite
map $lightmap
rgbGen vertex
}
}
textures/gonk/tatbanner_b
{
qer_editorimage textures/gonk/tatbanner_b
q3map_nolightmap
surfaceparm nonsolid
surfaceparm trans
surfaceparm alphashadow
cull none
deformVertexes wave 10 sin 0 2 0 .2
{
map textures/gonk/tatbanner_b
alphaFunc GE128
nextbundle
depthWrite
map $lightmap
rgbGen vertex
}
}
My problem is, no matter what I set the cull to (twosided or none), the banners/tarps only show on one side, when they should show on two. In addition, the parts of them that you should be able to see through (they have alpha channels in they’re .tgas) are just black, as if the texture is simply being loaded without the shader at all. Also, the banners are supposed to flap in the wind a bit, and they don’t.
The shader file is in shaderlist.txt. q3map2 loads it fine. I’m really not understanding why this doesn’t want to work… I hate shaders with a passion. Any help?
Mostly player models from JO, a few maps, and vehicles.