User panel stuff on forum
  10 posts on 1 page  1
Client Talk
2007-08-03, 05:05
Member
357 posts

Registered:
Mar 2006
Cokeman:
I've noticed that polygon offset fixed the z-fighting of textures, though with the current values (-0.05,0) do you lose your shadows?
I use true alias models for ammo, and health boxes and noticed that the shadows were only visible when i was close to the items.
So instead I have flipped the value to glPolygonOffset(1.5,0) and shadows are visible again and z-fighting is no more....

for example with glPolygonOffset(-0.05,0) on map e2m2 the underwater platform that raises up is visible, glPolygonOffset(1.5,0) and u only see water.
http://www.quakeone.com/qrack/qrack331.png
2007-08-03, 08:32
Member
357 posts

Registered:
Mar 2006
Hmm never mind, fired up a test build and noticed that the shadows seem to be slightly above the ground.. psst stencil buffer that!
wonder why i was having probs with that oh well

Good work!
2007-08-09, 13:41
Member
75 posts

Registered:
May 2006
ok... so it works fine now?
2007-08-09, 18:29
Member
357 posts

Registered:
Mar 2006
Yup!
2007-08-09, 21:16
Member
485 posts

Registered:
Feb 2006
Jesus.
2007-08-10, 03:57
Member
357 posts

Registered:
Mar 2006
Kalma, is there something you would like to say?
2007-08-10, 04:26
Member
202 posts

Registered:
Dec 2006
Your quake guy is Jesus due to his ability to walk on water.
2007-08-10, 06:55
Member
357 posts

Registered:
Mar 2006
lol
2007-08-10, 07:14
Administrator
2058 posts

Registered:
Jan 2006
looks more like ice to me!
2007-08-10, 07:31
Member
405 posts

Registered:
Jan 2006
yeah, and numb... lol
<3
  10 posts on 1 page  1