Sign in to follow this  
peter_b

owerdraw artifacts

Recommended Posts

Hello, im having some trouble with overdrawing when doing alpha blending in my software engine. The problem seems to be that due to rounding errors some pixels are drawn by more than one triangle that share vertices. The result is that when the next triangle is going to be drawn on that pixel and checks the color for determening alpha, the result is wrong since it has already been drawn once. I understand that i need to adopt some standard when it comes to shared vertices but i cant quite figure out what exactly to do. Anyone know? :/ screenshot: http://hem.passagen.se/storage/art.gif Thanks in advance.

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