$minlod: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Causes compiles to fail.)
(Added note that it works on other branches that aren't SDK 2013 SP)
Line 1: Line 1:
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.
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.
{{bug|Causes the compile to fail with an access violation on Source 2013.}}
{{bug|Causes the compile to fail with an access violation on Source 2013. Must use another branch, such as HL2, Garry's Mod, etc.}}
{{todo|Does this work with any version of studiomdl?}}


== Syntax ==
== Syntax ==

Revision as of 14:09, 28 May 2023

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)