How to handle texture artifact

Hi everyone, i’m new in 3D graphics and in Babylon.js
I’m developing a 3D warehouse scene but i noticed that when the camera is not so close the meshes has some very annoyng artifact as you can see from the picture.


When the camera is more close all work fine…

What could be the cause, and how can i solve it?
Thank you in advance.

Hello and welcome!

This is a depth fighting issue:) You can try to increase camera.minZ to get more precision

Thank you very much, it works!
I can get good results with camera.minZ=0.07 (it was previously set to 0.001)

1 Like