meshfx // LOD // UNITY
How to set up LOD in Unity
In Unity you set up LOD (lighter versions of a model for distant views) with a LOD Group: the detailed mesh goes in LOD 0, simpler meshes in LOD 1 and LOD 2, and dividers set the screen height for each switch. Give FBX meshes _LOD0 and _LOD1 suffixes and Unity builds the group on import.
pyrofx effects work today, and new accounts start with $5 of usage.
meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the Playground.
- Component: LOD Group
- Thresholds: percent of screen height
- FBX suffixes: _LOD0, _LOD1, _LOD2
01 // BY HAND
Build a LOD Group
- Make two or three lower-detail versions of the mesh in your 3D editor, each about half the triangles of the one before.
- Name them
Rock_LOD0,Rock_LOD1andRock_LOD2under one parent and export a single FBX. - Import the FBX. Unity reads the suffixes and adds a LOD Group to the model with each mesh in its level.
- If you import the meshes separately, add a LOD Group to an empty parent (Add Component > Rendering > LOD Group) and drag each renderer onto its level in the bar.
- Drag the dividers in the LOD Group bar to set where each level takes over, and drag the camera marker along the bar to preview the switch.
- Make the last band Culled for small props, so they disappear entirely far away.
02 // THRESHOLDS
Pick switch points by screen height
LOD Group thresholds are percentages of screen height, not meters, so one setup works across resolutions and fields of view. A practical start for a prop is LOD 1 below 40 percent, LOD 2 below 15 percent, and culled below 2 percent. Raise the first threshold for models whose outline players watch, such as characters.
Quality settings shift every LOD Group at once. LOD Bias above 1 keeps detail longer, and Maximum LOD Level skips the most detailed levels on low quality tiers.
03 // CROSS FADE
Hide the switch with cross-fading
Set Fade Mode on the LOD Group to Cross Fade and give each level a Fade Transition Width, so neighboring levels blend over a short range instead of popping. The shader has to support it; in URP, turn on LOD Cross Fade in the URP Asset.
04 // meshfx
meshfx for lod in unity
meshfx reduces toward a triangle budget and makes LODs by count, ratio, explicit budgets or error. Each level reports measured distance, outline and faults. Godot 4 is the supported output target. Hosted meshfx runs are available in the Playground.
What is a LOD Group in Unity?
A LOD Group is a component that holds a model's detail levels and switches renderers based on screen height percentage.
How do I bring LODs from a 3D editor into Unity?
Name meshes with _LOD0 and _LOD1 suffixes under one parent in a 3D editor and export as FBX so Unity builds the LOD Group.
How do I set LOD thresholds in Unity?
Drag the percentage dividers in the LOD Group bar to set screen height switches and tune global distances with Quality LOD Bias.
Should Unity LODs come from decimation or manual retopology?
Use decimation for most LODs because it keeps UVs intact and retopologize by hand only if character joints deform poorly.
Explore meshfx outputs
Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.