To reduce the rendering performance impact of models with high triangle counts or models with a lot of instances, Hurricane supports levels of detail (LOD). This allows models to be rendered with a different mesh at different distances to the camera.
Hurricane supports 5 different levels of detail:
|Level ID||Min distance||Max distance|
To add LOD to your model, for each mesh in your model, do the following:
Xbeing the selected level
LOD_23, this mesh will be used for rendering at levels 2 and 3
Here are a few examples of model hierarchy using LOD
BuildingMesh← high detailed mesh
Here, the model is rendered with the mesh
LOD_012 for a distance inferior to 200, and with the mesh
LOD_34 for a distance greater than 200.
In this configuration, the mesh
LOD_01 is used to render the model to a distance up to 100, and then the model is hidden.