Add mesh index buffer optimization based on meshoptimizer library
Work similar to existing impl but yields better results with even less overdraw.
This commit is contained in:
@@ -988,7 +988,7 @@ bool ProcessMesh(ModelData& result, OpenFbxImporterData& data, const ofbx::Mesh*
|
||||
|
||||
if (data.Options.OptimizeMeshes)
|
||||
{
|
||||
mesh.ImproveCacheLocality();
|
||||
mesh.Optimize();
|
||||
}
|
||||
|
||||
// Apply FBX Mesh geometry transformation
|
||||
|
||||
Reference in New Issue
Block a user