water_lod_control

From Source Entities
Jump to navigation Jump to search
Obsolete.png

This entity is obsolete. Using this is discouraged.

Code classes:

Waterlodcontrol.png

water_lod_control is a point entity present in all Source games. An entity which is supposed to control how far away from the player that water turns into cheap water, which is easier to render. Does not do anything. Every map with water in it is forced to have one. VBSP will create one if it's not included.

Keyvalues[edit | edit source]

Start Transition to Cheap Water (cheapwaterstartdistance) <float>
Distance from the camera that water will start transitioning to cheap water, in units.
End Transition to Cheap Water (cheapwaterenddistance) <float>
Distance from the camera that water will finish transitioning to cheap water, in units.

Inputs[edit | edit source]

SetCheapWaterStartDistance <float>
Sets Start Transition to Cheap Water.
SetCheapWaterEndDistance <float>
Sets End Transition to Cheap Water.