Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Yavin "embedded" light

Page: 1 of 1
 zeimi
05-02-2004, 1:04 PM
#1
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
}
}
 Jedi_Vogel
05-02-2004, 6:15 PM
#2
Surely you just don't have two brushes occupying precisely the same space/surface?
 zeimi
05-03-2004, 8:36 AM
#3
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.
 GothiX
05-03-2004, 10:40 AM
#4
polygonOffset.
 zeimi
05-03-2004, 2:45 PM
#5
Thank you very much!
Page: 1 of 1