zeimi Posted May 2, 2004 Share Posted May 2, 2004 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 } } Link to comment Share on other sites More sharing options...
Jedi_Vogel Posted May 2, 2004 Share Posted May 2, 2004 Surely you just don't have two brushes occupying precisely the same space/surface? Link to comment Share on other sites More sharing options...
zeimi Posted May 3, 2004 Author Share Posted May 3, 2004 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. Link to comment Share on other sites More sharing options...
GothiX Posted May 3, 2004 Share Posted May 3, 2004 polygonOffset. Link to comment Share on other sites More sharing options...
zeimi Posted May 3, 2004 Author Share Posted May 3, 2004 Thank you very much! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.