Automatic LOD generation + scene optimization - Initial release was on January 12, 2018 via blogpost
AutoLOD is primarily a framework for enabling automatic post-processing of geometrical model assets on import to create simplified levels-of-detail (LOD). A default mesh simplifier is included, but can be swapped out with other simplifiers and on a per-model basis if needed. Additionally, a whole scene can be hierarchically chunked into LODs with SceneLOD.
Required Unity Editor Version
- Recommended Unity 2021.1 or later
- Minimum Unity 2018.4 (LTS) (original release was on 2018.1)
- Last tested with Unity 2023.3.0b4
It’s important to note that AutoLOD is an experimental feature. As such, there is no formal support (e.g. FogBugz, support@unity3d.com, Premium Support, etc.) offered, so please do not use these channels. Instead, post your questions, comments, suggestions, and issues here on GitHub.
As with anything experimental/preview/alpha/beta, it is always a good idea to make a backup of your project before using.
Experimental means this:
- Namespaces, classes, software architecture, prefabs, etc. can change at any point. If you are writing your own tools, then you might need to update them as these things change.
- There won’t always be an upgrade path from one release to the next, so you might need to fix things manually, which leads to the next point...
- Stuff can and will break (!)
- There’s no guarantee that this project will move out of experimental status within any specific timeframe.
- As such, there is no guarantee that this will remain an actively supported project.
- LOD generation on model import with sensible defaults
- Project-wide and per-model LOD import settings
- Asynchronous, pluggable LOD generation framework with built-in support for:
- Hierarchical LOD support via SceneLOD -> [watch a quick tutorial video]
- MonoBehaviourHelper - a way to run coroutines in the editor + main thread execution from worker threads
- LODGroupExtensions - useful extension methods (e.g. GetCurrentLOD)
- TimedEnumerator - a way to control maximum execution time of coroutines
- TextureAtlasModule - automatically generate texture atlases
- WorkingMesh - a thread-safe mesh (and now job-friendly!) struct
Cloning locally to your project (requires git-lfs)
- Create a new Unity project or use an existing one
- From the command line change directory to your project's
Packages
directory. - Run
git lfs clone https://github.com/YvesAlbuquerque/AutoLOD
- Visit GitHub's AutoLOD repository
- Click the green
Code
button and selectDownload ZIP
- Extract the contents of the ZIP file into your project