Hi everyone,
I'm computing the nearest/furthest point of a mesh (actually its bounding volume) to the camera and changing the near/far clip-plane dynamically accordingly, in order to keep depth buffer precision errors to its minimum.
However, after setting the closest point found as the near clipping plane I'm getting this error:
I've verified that there are no other points closer than the point being retrieved as the one nearest to the camera, but still that point being clipped. i.e. It can be the case that the closest point is in one of the …