Hi guys,
i want to add a quality control to my project so a user can change the quality of the scene to reduce lag / improve performance on low-end machines,
I stumpled over the "Auto-LOD" https://doc.babylonjs.com/tutorials/In-Browser_Mesh_Simplification_(Auto-LOD)
but it doesn't quite do the trick, indices only reduced slightly & no change to vertices.
Take a simple sphere made with 20 segments/subdivs,
var sphere = BABYLON.Mesh.CreateSphere("sphere", 20, 2, scene);
This sphere contains 5808 indices & 1035 vertices,
But if i create the sphere with 10 segments instead,
var sphere = BABYLON.Mesh.CreateSphere("sphere", 10, 2, scene);
This sphere only contains 1728 indices & 325 vertices.
Is there any way available to reduce the actual "quality" of a mesh (live) without using the LOD or Auto-LOD systems? (i need to use it on custom 3d models aswell).
For the sphere as an example. I want to go from 20 -> 10 segments if quality is reduced by 50%, is this possible to do "on-the-go" or would it be better to force a reload and then load the meshes/models with the requested quality?
Any ideas/input would be greately appreciated
Cheers