Hey I have a question about Babylon.js optimization. Does Babylon.js automatically hide the faces that the player can’t see like in Minecraft ?
Fantastic question. Yes there’s a ton of optimization options with Babylon. To start with, there are two common optimizations that Babylon does for you by default.
Don’t render any meshes outside of the camera visibility. This includes both objects that are obstructed by other objects AND objects that fall outside of the camera frustum.
Backface culling is on by default in Babylon. This means that only the “front” side of any given face is rendered, not the back side. Front and back relative to the normal that is.
But beyond that, there’s a whole bunch of different things that you can do/use to further optimize your scenes.
Here’s a couple of resources to get you started:
Hope this helps!
Thanks a lot for your help, that’s what I was looking for !