This article's documentation is for anything that uses the Source engine. Click here for more information.

R rootlod: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Create r_rootlod page, mark it is being created.)
 
(Finish page creation: Specify what r_rootlod does.)
 
Line 1: Line 1:
{{wip|Raterix|Page is being created.}}
{{this is a|console variable|name=r_rootlod}} It offsets the root level of detail, which normally would be 0.
 
{{this is a|console variable|name=r_rootlod}} It offsets the root level of detail.


== Usage ==
== Usage ==
{{syntax|r_rootlod <integer>}}
{{syntax|r_rootlod <integer>}}


The default value is "0".
The default value is "0". Acceptable range is from 0 to the engine limit. In {{Hl2|2}} the limit is 7.
 
A models root level of detail, also known as LOD 0 or the base level, is the fully detailed version of a model, containing all polygons.
 
{{code|r_rootlod}} forces the engine to treat the base level as a different value.
 
Setting {{code|r_rootlod}} to 1 means all models will never go down below 1 (as 1 is classified as the root now, instead of 0), but it still allows the engine to dynamically adjust level of detail, unlike [[r_lod]].


== See also ==
== See also ==
* [[LOD|Level of detail]]
* [[LOD|Level of detail]]
* [[r_lod]]
* [[r_lod]]

Latest revision as of 14:33, 26 November 2024

r_rootlod is a console variable available in all Source Source games. It offsets the root level of detail, which normally would be 0.

Usage

Syntax: r_rootlod <integer>

The default value is "0". Acceptable range is from 0 to the engine limit. In Half-Life 2 Half-Life 2 the limit is 7.

A models root level of detail, also known as LOD 0 or the base level, is the fully detailed version of a model, containing all polygons.

r_rootlod forces the engine to treat the base level as a different value.

Setting r_rootlod to 1 means all models will never go down below 1 (as 1 is classified as the root now, instead of 0), but it still allows the engine to dynamically adjust level of detail, unlike r_lod.

See also