Reputation: 21
I have this weird issue in my program where the intersection between to meshes gets really messed up the further away I go. What is this phenomenon called and how do I fix it.
Here is a picture of it
Upvotes: 1
Views: 246
Reputation: 9260
It is called Z-fighting. Use higher-res depth buffer.
But it could also mean that your mesh(es) has co-planar faces; you'd fix that by offsetting affected faces by a little.
Upvotes: 2