LOD Generator is a tool to reduce triangles count for meshes and generate LODs.
Asset contains two tools: Mesh Simplifier and LOD Generator. Both are using the same core and share the same optimization parameters.
Optimization core is based on simple edge and vertex collapse, w/o approximation. This method can give better results for such objects as cars, buildings, rocks, trees. In simple words - it will search the most common flat planes and reduce triangles there.
LODGen is working better (compared to approximation methods) for meshes where some of vertex/edges are not stitched preserving better shape for lower LODs.
Check the video to see how it works.
Package contents
- Demo scene with trees, rocks and car with LODs
- All of the source code
Demo scene contains preserved LOD settings for all objects with LODs. You can see them if you drag an object to LODGenerator on the demo scene.
Note#1: LODGen is implemented for Unity 2021.3 and may not work on previous versions. Please, write to me if you need it for previous versions.
Note#2: Demo scene is build for URP 12.1.6 (from Unity 2021.3) so all materials are standard for URP 12.1.6.