The following shader code removes the outer side of the texture the way I want but the Z-fighting flicker is still visible. I'm almost sure that there is a shader code to prevent the Z-fighting thing in JA's assets but I can't find it.
If no one knows what is the shader I'm looking for then I need someone to tell me the shader function to "leave it on top".
textures/yavin/light
{
q3map_flare gfx/misc/flare
q3map_nolightmap
{
map textures/yavin/light
alphaFunc GE128
blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
}
}
Surely you just don't have two brushes occupying precisely the same space/surface?
The brushes with wall texture and light texture have one common plane (the visible one). I have made it work some months ago but now I cannot remember how.