Rt WaterReflection: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Bold)
(Remove incorrect example)
Line 1: Line 1:
The '''_rt_WaterReflection''' is a parameter for use with "$refracttexture". This texture is used for real-time reflections.
'''_rt_WaterReflection''' is a parameter for use with "$reflecttexture". This texture is used for real-time reflections.


Example :
{{todo|Add [[VMT]] example of this.}}
<[[Water]]>
{
"Water_DX81"
{
"$refractamount" ".25"
}
  "$forceexpensive" 1
"$REFLECTBLENDFACTOR" "0.4"
"$nofresnel" "1"
"%tooltexture" "dev/water_normal"
'''"$refracttexture" "_rt_WaterRefraction"'''
"$refractamount" "3.0"
"$envmap" "env_cubemap"
"$reflectamount" "0.2"
"$scale" "[1 1]"
"$bumpmap" "dev/water_dudv"
"$normalmap" "dev/water_normal"
"%compilewater" 1
"$surfaceprop" "water"
"$bottommaterial" "nature/sewer_water001_bottom"
"$bumpframe" "0"
"$fogenable" 1
"$fogcolor" "{15 15 8}"
"$fogstart" 0.00
"$fogend" 150.00
"$abovewater" 1
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 20.00
}
"TextureScroll"
{
"texturescrollvar" "$bumptransform"
"texturescrollrate" .05
"texturescrollangle" 45.00
}
"WaterLOD"
{
}
}
}

Revision as of 09:51, 12 July 2018

_rt_WaterReflection is a parameter for use with "$reflecttexture". This texture is used for real-time reflections.

Todo: Add VMT example of this.