Unity-Technologies / AutoLOD

Automatic LOD generation + scene optimization
https://blogs.unity3d.com/2018/01/12/unity-labs-autolod-experimenting-with-automatic-performance-improvements/
Other
1.84k stars 215 forks source link

What about ManualLod? #27

Closed friuns2 closed 6 years ago

friuns2 commented 6 years ago

Can i generate lods manually? most of my models already have lods so i don't need lods been generated.

amirebrahimi commented 6 years ago

If your LODs are already in the model file using the naming convention detailed here: https://docs.unity3d.com/Manual/LevelOfDetail.html then AutoLOD won't try to generate LODs

Otherwise, if you are generating LODs manually, then you can turn off "generate on import" in the Preferences for AutoLOD.

friuns2 commented 6 years ago

how i generate them manually if "generate on import" turned off?

amirebrahimi commented 6 years ago

You have to turn on the option once unfortunately in preferences, then generate the LODs, then turn it off and you can then override in the _lods.asset file that sits next to the model. Perhaps I could have an easy way to create the LODs file, so this could be done without having to enable first in the preferences, but for now that is how you do it.

friuns2 commented 6 years ago

would be cool have right click generate lod on model file

also found gameobject/autolod/generate lods does the trick

amirebrahimi commented 6 years ago

GameObject/AutoLOD/Generate LODs only works on a prefab though. It didn't work for you on an actual model (e.g. FBX) file, did it?

amirebrahimi commented 6 years ago

Added right-click to generate in 945423a