FastLOD - Automatic Runtime LOD
Welcome to the Automatic Runtime LOD documentation! We’re glad you decided to purchase this asset and we hope it helps you achieve your goals.
If you have any questions, please don’t hesitate to reach out to us at firstname.lastname@example.org. And if you could, please consider rating the package or leaving a review on the asset page. This will help us grow and improve the asset.
Automatic Runtime LOD provides a LOD system completely done at runtime. This can be useful for a variety of reasons:
- Hassle free way to apply LOD to static and skinned meshes
- LOD handling of procedurally generated meshes
- LOD handling of meshes that change during runtime
Setting up Automatic Runtime LOD is as easy as attaching the script to a GameObject that has MeshFilters or SkinnedMeshFilters or that has childs that have these components. The script will recursively search and keep track of them. Next a “Viewer” needs to be configured, this usually is the Main Camera of the scene. The viewer what we use to calculate when to switch the LODs.
That’s it! Enjoy using Automatic Runtime LOD and for any questions don’t hesitate to contact us at email@example.com
This is the main script of the plugin, it takes care of detecting and calculating when a mesh should be simplified, it also batches requests and executes native code in order to achieve maximum performance. Attach this script to any GameObject that contains children or has skinned meshes or static meshes that you want to simplify.
|The GameObject we should keep track of. This is usually the Main Camera
|The different levels of detail to have. In other words, how many different simplified versions of the model to generate. More levels means a more smoother transition between LODs at the cost of performance.
[0.1, 0.4, 0.6, 0.8, 1.0]
|The maximum distance from the viewer where the simplification happens. In other words, the point in which the most simplified version of the model is used.
Max simplifications per frame
|How many objects will the system simplify per frame. A higher value means LOD changes faster but performance is penalized
|The target error of the simplification process. A higher value means the algorithm will care less about topological features.
|A bool that represents if the script should smooth out the resulting mesh.
This asset works on iOS, Android, Windows, Linux and Mac. In case you or your team runs into any issues please don’t hesitate to contact us at firstname.lastname@example.org
This asset works with skinned meshes as well as normal static meshes.
Some mesh formats need to have the option “Read/Write” enabled for the plugin to work properly. This is the case with FBX. For more information check out Read/Write Enabled
We are a small company focused on building tools for game developers. Send us an email to email@example.com if interested in working with us. For any other inquiries, feel free to contact us at firstname.lastname@example.org or contact us on the discord
Sign up to our newsletter.
Want to receive news about discounts, new products and updates?