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

r_rootlod

From Valve Developer Community
Jump to navigation Jump to search

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