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.
It’s important to note that AutoLOD is an experimental feature. As such, there is no formal support (e.g. FogBugz, [email protected], 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
Unity 2018.4 (LTS) or a later version is required
- Using the UI
- Follow the steps provided here.
- The Git URL to use is
https://github.com/Unity-Technologies/AutoLOD.git
- Manually through editing manifest.json
- Read the instructions from the official documentation here.
- Open up manifest.json inside the Packages directory in your Unity project using a text editor.
- Under the dependencies section of this file, you should add the following line at the top:
"com.unity.autolod": "https://github.com/Unity-Technologies/AutoLOD.git",
- You should now see something like this:
{ "dependencies": { "com.unity.autolod": "https://github.com/Unity-Technologies/AutoLOD.git", "com.unity.ads": "2.0.8", "com.unity.analytics": "3.2.3", "com.unity.collab-proxy": "1.2.15", "...": "...", } }
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/Unity-Technologies/AutoLOD
If you plan on making changes to AutoLOD and/or contributing back, then you'll need to set the Asset Serialization
property under Edit->Project Settings->Editor to Force Text
.
Unity Companion License (see LICENSE)
All contributions are subject to the Unity Contribution Agreement (UCA)
By making a pull request, you are confirming agreement to the terms and conditions of the UCA, including that your Contributions are your original creation and that you have complete right and authority to make your Contributions.