• Welcome to PiBoSo Official Forum. Please login or sign up.
 
September 27, 2020, 01:16:49 AM

News:

GP Bikes beta18c available! :)


Z buffer depth - Z fighting issues

Started by h106frp, July 04, 2020, 09:43:14 AM

Previous topic - Next topic

h106frp

I have been trying to resolve z fighting issues at some points on a larger track without success. Tried new geometry, UV mapping, textures and shaders but the problem persists. It is not just the odd object that might have an intersection issue but the entire scene starts to flicker.

After observing in-game, it almost appears as if the z buffer scaling is constantly flipping between 2 very different values so I am guessing it is something to do with the calaculated depth of the scene.

Any tips for resolving? Out of curiousity what bit depth does GPB use for the buffer?

Thank you.