Level of detail: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(LOD appears to be disabled in HL2 since 20th anniversary.)
No edit summary
Line 5: Line 5:
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]] {{hl2}}.
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]] {{hl2}}.


In {{hl2|1}}, since 20th anniversary update, LOD appears to be disabled with the command {{Code|r_lod}} set to "0", if running on DirectX 9 level or higher.{{Cite|1}}
In {{hl2|1}}, since 20th anniversary update, LOD appears to be disabled with the command {{Code|r_lod}} set to "0", if running on DirectX 9 level or higher,{{Cite|1}} and with Model Detail set to "High".{{Cite|2}}


{{Warning|{{csgo|4}} does not support LODs at all, or it is possibly broken due to updates{{confirm}}.}}
{{Warning|{{csgo|4}} does not support LODs at all, or it is possibly broken due to updates{{confirm}}.}}
Line 16: Line 16:
{{references|1=
{{references|1=
{{ref2|cite id=1|According to {{file|bin\dxsupport|cfg}}.}}
{{ref2|cite id=1|According to {{file|bin\dxsupport|cfg}}.}}
{{ref2|cite id=2|[https://store.steampowered.com/news/app/220/view/6633333780228604001 Half-Life 2 20th Anniversary Update - Change Notes]<br>
{{Quote|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.}}
}}
}}
}}
[[Category:Glossary]]
[[Category:Glossary]]


{{stub}}
{{stub}}

Revision as of 03:23, 24 November 2024

English (en)Español (es)中文 (zh)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.