🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

zbuffer (Direct3D)

Started by
1 comment, last by drago 24 years, 8 months ago
No. ZBuffering is only good when you want
to sort the nearest and far away polygons.
If you dont intend to use the Z axis you
shouldnt need to use the Zbuffers.
Advertisement
Is it necessary to have a zbuffer if you use Direct3D only as DirectDraw with hardware supported sfx. I'm not planning to use the z-axis...

------------------
Drago

osu!
You can disable z-buffering by setting the D3DRENDERSTATE_ZBUFFERENABLE state to FALSE.

You may want to use Z-buffer in the 2D app though, it could be any easy way to support multiple layers, parallax scrolling, etc. Just make sure all your polygons for a single layer have the same z.

This topic is closed to new replies.

Advertisement