Func precipitation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fixed links)
Line 5: Line 5:


===Rain Related Console Commands===
===Rain Related Console Commands===
There are a number of console commands that control '''func_precipitation''' rendering. These include: [[r_rainalpha]], [[r_rainalphapow]], [[r_raindensity]], [[r_rainlength]], [[r_RainHack]], [[r_rainlength]], [[r_RainProfile]] (displays stats on rain rendering costs), [[r_RainRadius]], [[r_RainSideVel]] (controls sideways movement of the rain particles, e.g. to simulate rain in the wind), [[r_RainSimulate]] (toggles animation on the rain; freezes the rain when set to 0), [[r_rainspeed]], [[r_RainSplashPercentage]] and [[r_rainwidth]].
There are a number of console commands that control '''func_precipitation''' rendering. These include: r_rainalpha, r_rainalphapow, r_raindensity, r_rainlength, r_RainHack, r_rainlength, r_RainProfile (displays stats on rain rendering costs), r_RainRadius, r_RainSideVel (controls sideways movement of the rain particles, e.g. to simulate rain in the wind), r_RainSimulate (toggles animation on the rain; freezes the rain when set to 0), r_rainspeed, r_RainSplashPercentage and r_rainwidth.


{{TODO|The names of these seem descriptive enough for most of them, but what do ''r_rainalphapow'' and ''r_RainHack'' do?}}
{{TODO|The names of these seem descriptive enough for most of them, but what do ''r_rainalphapow'' and ''r_RainHack'' do?}}

Revision as of 10:41, 10 July 2007

Template:Wrongtitle

Entity Description

A brush entity that creates rain and snow inside its volume.

Rain Related Console Commands

There are a number of console commands that control func_precipitation rendering. These include: r_rainalpha, r_rainalphapow, r_raindensity, r_rainlength, r_RainHack, r_rainlength, r_RainProfile (displays stats on rain rendering costs), r_RainRadius, r_RainSideVel (controls sideways movement of the rain particles, e.g. to simulate rain in the wind), r_RainSimulate (toggles animation on the rain; freezes the rain when set to 0), r_rainspeed, r_RainSplashPercentage and r_rainwidth.

Todo: The names of these seem descriptive enough for most of them, but what do r_rainalphapow and r_RainHack do?

Keyvalues

  • renderamt
<integer> Density (0-100%)
  • rendercolor
#000000 Color (R G B)
  • preciptype
<choices> Precipitation Type
Literal Value Description
0 Rain
1 Snow
Template:Ep1 add Template:Ep1 add
Template:Ep1 add Template:Ep1 add

Inputs

Outputs

See Also