You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Update with experimental mesh optimizer.
Normals being optimized has better quality now. Test simplify once and then use a slightly less tolerant error for the target error.
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
void register_meshoptimizer_types() {
|
||||
SurfaceTool::optimize_vertex_cache_func = meshopt_optimizeVertexCache;
|
||||
SurfaceTool::simplify_func = meshopt_simplify;
|
||||
SurfaceTool::simplify_with_attrib_func = meshopt_simplifyWithAttributes;
|
||||
SurfaceTool::simplify_scale_func = meshopt_simplifyScale;
|
||||
SurfaceTool::simplify_sloppy_func = meshopt_simplifySloppy;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user