Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

z-writes without z-tests

4: Adsense

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   

374
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 )

#2 Prosper/LOADED   Members   

100
Like
Likes
Like

Posted 09 November 2001 - 01:05 AM

Just use this :

glDepthFunc( GL_ALWAYS);

#3 UnshavenBastard   Members   

374
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.