Rt WaterReflection

From Valve Developer Community
Revision as of 05:04, 5 January 2024 by MrFunreal (talk | contribs) (added a bit more info and an example.)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Nuvola apps ksnapshot.png
This article or section needs a screenshot to help visually convey the subject.
You can upload screenshots at Special:Upload. For help, see Help:Images.


_rt_WaterReflection is a parameter for use with "$reflecttexture". This texture is used for "real-time" reflections.
Its most common use is in in Water materials, which causes the water to reflect the world around it, similar to env_cubemap, but better.

$reflecttexture _rt_WaterReflection
$reflectamount "0.4"
$reflecttint "{ 190 190 190 }"
$reflectskyboxonly 1
$reflectentities 1