Rt WaterReflection: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:{{mono|_rt_WaterReflection}}}}
{{stub}}
{{stub}}{{screenshot}}<br>
'''_rt_WaterReflection''' is a parameter for use with "$reflecttexture". This texture is used for "real-time" reflections.<br>
Its most common use is in in [[Water_(shader)|Water]] materials, which causes the water to reflect the world around it, similar to [[env_cubemap]], but better. It is also used by [[LightmappedReflective]].


<source>
{{screenshot}}
$reflecttexture _rt_WaterReflection
 
$reflectamount "0.4"
{{MultiPage
$reflecttint "{ 190 190 190 }"
| title style = mono
$reflectskyboxonly 1
| title = _rt_WaterReflection
$reflectentities 1
}}
</source>

Revision as of 21:00, 18 January 2024

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.
Note.pngNote:Archived page history
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.