$minlod

From Valve Developer Community
Jump to: navigation, search
Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024

When the model is built, all LODs that are at higher resolution that the specified one are thrown away and the model is reset to use the specified LOD in their place. This was first used on the XBox 360 to clamp model LODs since the screen resolution was fixed and there was very little memory.

Icon-Bug.pngBug:Causes the compile to fail with an access violation on Source 2013. Must use another branch, such as HL2, Garry's Mod, etc.  [todo tested in?]

Syntax

$minlod (lod)