Artifacts at corner of large mesh

Hi Folks,

I’ve created a playground to demonstrate the issue I’m seeing:

If I create a mesh of a large enough size I get artifacts at its corners, but I’m not sure why. Can anyone help explain it for me?

Thanks, Tom

It is going through the far plane (camera.maxZ) https://playground.babylonjs.com/#CNLNE9#1

2 Likes

Oh fantastic, thx.

Should Babylon.js docs mention a default setting for this? I’m happy to propose a change if that makes sense.

I’ve created Update camera.ts to include default maxZ value by mthaddon · Pull Request #16152 · BabylonJS/Babylon.js · GitHub to include this in the docs.

4 Likes