camera:fov=3, PerspectiveCamera problem:
meshA(height=4,depth=0.5,standardMaterial),meshB(height =2,depth=0.5,standardMaterial);
MeshA should theoretically completely cover MeshB, but in reality, the render result may flicker and some fragments may render the material of MeshB.
Is it because the distance between the camera and the center of the scene is too far when I use a camera with fov=3,so the depthTest could be inaccurate.
(Because I need to render objects in the scene in the correct size even with fov=3,so the distance could be 30000 and more)
Nice! Things to be aware of with logarithmicDepthBuffer… it can affect some shaders and special effects that expect the classical depth buffer formation, so if you see issues with new code that you add that is shader related or interacts with the depth buffer, keep this in mind. Glad you got it working! It’s pretty awesome and a lot of apps like space based games or simulations use logdepthbuffer for the same reasons you are.