Water lod control: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 3: Line 3:


== Entity description ==
== Entity description ==
[[Image:Waterlodcontrol.png|left]]An entity used to control the [[LOD]] behavior of any water in the map. If your map has water, this entity is required.{{clr}}
[[Image:Waterlodcontrol.png|left]]An entity used to control the [[LOD]] behavior of any water in the map. If your map has water, this entity is required.
* {{map_properties}}
{{clr}}


* See also [[Adding Water]]
* See also [[Adding Water]]

Revision as of 14:02, 15 April 2008

Template:Wrongtitle Template:Base point

Entity description

Waterlodcontrol.png

An entity used to control the LOD behavior of any water in the map. If your map has water, this entity is required.

Keyvalues

<float> This is the distance (inches) from the camera that water will start transitioning to cheap water.
  • cheapwaterenddistance
<float> This is the distance (inches) from the camera that water will finish transitioning to cheap water.

Inputs

Set the distance that water starts transitioning to cheap water.
  • SetCheapWaterEndDistance <float>
Set the distance that water finishes transitioning to cheap water.

Outputs