Optimize your 3d scenes with Merging Meshes. This mini-addon is the basis of my new powerful addon.
Merging Meshes is an add-on for Godot 4 that is designed to optimize scenes with a large number of MeshInstance3D and procedural geometry.
Meshes are combined by merging MeshInstance3D using SurfaceTool (append_from method). This allows you to combine an unlimited number of meshes into one, resulting in a HUGE GROWTH in perfomance as only one drawing call is made instead of thousands
- UV and material support.
- Clear and minimal code.
- Convenient API - you can use this code in your tools!
- Download and enable the addon (Make sure that the folder is located in
addons). - Add a
MergingMeshesnode to your scene. - In the Inspector panel, add your
MeshInstance3Dnodes to themeshesparameter. - Optional: Assign a
Material3Dto theGeneralMaterialparameter to set the material for the merged mesh or use Original mesh materials. - Recommended: Keep the
HideSourceparameter enabled to automatically hide the originalMeshInstance3Dnodes.
This mini-add-on is a component of a larger add-on. Check out my profile to find more projects!
Consider starring this repository to make it easier for others to find it.
Article on Dev.to.
Get on Asset Library.

