$minlod: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added note that it works on other branches that aren't SDK 2013 SP)
m (clean up, added deadend tag)
Line 1: Line 1:
{{Dead end|date=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.
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. Must use another branch, such as HL2, Garry's Mod, etc.}}
{{bug|Causes the compile to fail with an access violation on Source 2013. Must use another branch, such as HL2, Garry's Mod, etc.}}
Line 6: Line 8:
  $minlod (lod)
  $minlod (lod)


[[Category:QC Commands|minlod]]__NOTOC__
__NOTOC__
 
[[Category:QC Commands|minlod]]

Revision as of 08:40, 21 January 2024

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)