$minlod

From Valve Developer Community
Revision as of 14:09, 28 May 2023 by ReverendV92 (talk | contribs) (Added note that it works on other branches that aren't SDK 2013 SP)
Jump to navigation Jump to search

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)