Sign in to follow this  

zbuffer issue dx 10

Recommended Posts

I am having an issue with depth fighting between a planet and its rings in dx 10. Is there a way to change to wbuffering or flat distance value. I am using 32 bit float zbuffers and the resolution is clearly not sufficient for the task. I am also setting the near and far to the front and far edges of the planet and rings and to 1 if the near edge is less than 1. I clear the buffer before and after rendering to prevent issues with moons and stars. It works far away but I get z fighting when I get within 6x of the radius of the planet.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this