LOD

From Valve Developer Community
(Redirected from Level of detail)
Jump to navigation Jump to search
English (en)Español (es)Русский (ru)Translate (Translate)

Level of Detail (LOD) is the principle of having lower-detail versions of models in memory and switching to them when the object is small/distant. This saves a lot of unneeded processing power at the cost of a moderate memory/disk size increase.

Model LODs change instantly. Be careful that your LODs do not create visual noise when changing, it can be distracting. An example of this can be seen on some tree props in Water Hazard Half-Life 2.

In Half-Life 2, since 20th anniversary update, LOD appears to be disabled with the command r_lod set to "0", if running on DirectX 9 level or higher,[1] and with Model Detail set to "High".[2]

Warning.pngWarning:Counter-Strike: Global Offensive Counter-Strike: Global Offensive does not support LODs at all, or it is possibly broken due to updates[confirm].

See also

References

References
1. According to 🖿bin\dxsupport.cfg.
2. Half-Life 2 20th Anniversary Update - Change Notes
Setting Model Detail to High will now always display the highest detail version of a model and never swap for a lower level-of-detail.

Stub

This article or section is a stub. You can help by expanding it.