Static Mesh LODs
Static Meshes can make use of levels of detail (LODs) in-game in order to limit the impact of meshes as they get farther from the camera. Generally, this means each level of detail will have a reduced number of tris and, perhaps, a simpler material (or materials) applied to it.
The FBX pipeline can be used to export/import these LOD meshes.
LOD Setup
General
In general, LODs are handled by creating models of varying complexity going from the full-detail base mesh to the lowest-detail LOD mesh. These should all be aligned and occupying the same space with the same pivot point. Each LOD mesh can have completely different materials assigned, including different amounts of materials. This means the base mesh could use multiple materials to give the desired amount of detail up close, but the lower-detail meshes could use a single material since details will be less noticeable.
Export LODs
To export the StaticMesh LODs:
Import LODs
Static Mesh LODs can be imported along with the base mesh in the Content Browser or they can be imported individually through the Static Mesh Editor.
Mesh with LODs
-
Click the
button in the Content Browser and choose Import. Navigate to and select the FBX file you want to import in the file browser that opens. Note: you may want to select
in the dropdown to filter out unwanted files.
-
Choose the appropriate settings in the Import dialog. The defaults should be sufficient, but also make sure that Import LODs is enabled.Note: When importing LODs, the name of the imported mesh will follow the default Naming Rules. See the FBX Import Dialog section for complete details of all of the settings.
-
Click the
button to import the mesh and LODs. The resulting mesh, material(s), and texture(s) will be displayed in the Content Browser if the process was successful.
By viewing the imported mesh in the Static Mesh Editor, you can cycle through the LODs using the
dropdown at the far right side of the toolbar.