Aftershock

From Valve Developer Community
Revision as of 23:51, 1 February 2011 by Pdan4 (talk | contribs) (Created page with ''''<code>Aftershock</code>''' {{EP2 add}} draws refraction that is usually animated, and draws "fog" (which defines the model's per pixel opacity) that is level with the ground a…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Aftershock Template:EP2 add draws refraction that is usually animated, and draws "fog" (which defines the model's per pixel opacity) that is level with the ground and its thickness (or opacity) is proportionate to the $SilhouetteThickness. This is for use on models only, you need not specify $model 1.

Note.pngNote:If this shader is being used on a model, you must specify $model 1.

Parameters

"$normalmap"
The refraction material, usually animated.
$refractamount
$colortint
$SilhouetteThickness
"Fog" thickness drawn on the model.
$SilhouetteColor
$GroundMin
The lowest the model can be "fogged" (by position or angles), a lower value means it can be farther and still be fogged.
$GroundMax
The highest the model can be "fogged" (by position or angles), a higher value means it must be closer to be fogged.
$BlurAmount
$time
Not sure, may be the time in the animation of the $normalmap.


Supported effects