Jump to content

  • Log In with Google      Sign In   
  • Create Account


z-writes without z-tests


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 UnshavenBastard   Members   -  Reputation: 327

Like
Likes
Like

Posted 08 November 2001 - 11:55 PM

Can I turn off Z-testing BUT keep Z-Writing With OpenGL? ( I do front to back drawing the world, want to do z-writes, and then zbuffer the non-static objects (enemies), just like in quake-I. So Z-tests are not necessary for the world polygons, it''s waste of performance )

Sponsor:

#2 Prosper/LOADED   Members   -  Reputation: 100

Like
Likes
Like

Posted 09 November 2001 - 01:05 AM

Just use this :

glDepthFunc( GL_ALWAYS);

#3 UnshavenBastard   Members   -  Reputation: 327

Like
Likes
Like

Posted 09 November 2001 - 02:20 AM


Thanks! I''ll try this, when I get my new mainboard (my old one died...)





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS