Z-fighting?

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Lukin
Posts: 349
Joined: Sat Jan 29, 2000 8:00 am

Z-fighting?

Post by Lukin »

Take a ckoser look at this shot:
Image

It looks like a z-fighting bug, but there is no duplicated brush over there (you can check the map for yourself, it's visible on the wall behind the broken red neon).
Any ideas how to clear this?
[size=75][url=http://www.lukinonline.com]lukinonline.com[/url][/size]
User avatar
Hipshot
Posts: 1547
Joined: Sun Jan 20, 2002 8:00 am

Post by Hipshot »

I don't know about The Doom engine, but if you can, try to use a Z-Buffer of 24bits or more. zFighting dosen't need to be connected to faces overlapping, it can be when the zBuffer is renderd with low quality. Could be a driver error also...
Q3Map2 2516 -> http://www.zfight.com/misc/files/q3/q3map_2.5.16_win32_x86.zip
Q3Map2 FS_20g -> http://www.zfight.com/misc/files/q3/q3map2_fs_20g.rar
GtkRadiant 140 -> http://www.zfight.com/misc/files/q3/GtkRadiantSetup-1.4.0-Q3RTCWET.exe
primaltheory
Posts: 623
Joined: Wed Dec 28, 2005 4:31 am

Re: Z-fighting?

Post by primaltheory »

Lukin wrote:Take a ckoser look at this shot:
Image

It looks like a z-fighting bug, but there is no duplicated brush over there (you can check the map for yourself, it's visible on the wall behind the broken red neon).
Any ideas how to clear this?
I have a few like that in my map right now, it went away after I deleted the brush and remade it...
Why not?

[i]Jenny: lol, i'm not changing the whole harddrive directory structure for a mod. Do it proper like other mods please.[/i]
KungFuSquirrel
Posts: 56
Joined: Mon Nov 07, 2005 2:12 pm

Post by KungFuSquirrel »

If nothing's overlapping, check your nearby light volumes... odds are there's a light center that's positioned planar to that face - that can cause the shadow tris to z-fight with the geometry.
Lukin
Posts: 349
Joined: Sat Jan 29, 2000 8:00 am

Post by Lukin »

It was indeed "light center's fault". Thanks.
[size=75][url=http://www.lukinonline.com]lukinonline.com[/url][/size]
Oeloe
Posts: 1529
Joined: Fri Mar 19, 2004 8:00 am

Post by Oeloe »

Lukin next time you'll want to take a screenie with g_showhud 0 (and ui_showweapon 0). :)
Lukin
Posts: 349
Joined: Sat Jan 29, 2000 8:00 am

Post by Lukin »

Ok, I was in a hurry when posting it.
[size=75][url=http://www.lukinonline.com]lukinonline.com[/url][/size]
Post Reply