• Advertisement

Archived

This topic is now archived and is closed to further replies.

zbuffer (Direct3D)

This topic is 6658 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

  • Advertisement