This article's documentation is for anything that uses the Source engine. Click here for more information.

MonitorScreen: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
m (fixed incorrect display)
Line 12: Line 12:
== Shader parameters ==
== Shader parameters ==


{{MatParam|[[$basetexture]]|texture|The realtime texture to render. Usually <code>_rt_camera</code>, but a normal texture can be used.}}
{{MatParam|$basetexture|texture|The realtime texture to render. Usually <code>_rt_camera</code>, but a normal texture can be used.}}
{{MatParam|$texture2|texture|A secondary texture which is multiplied with the basetexture.}}
{{MatParam|$texture2|texture|A secondary texture which is multiplied with the basetexture.}}
{{MatParam|$texture2transform|matrix|Transform the secondary texture.}}
{{MatParam|$texture2transform|matrix|Transform the secondary texture.}}

Revision as of 04:08, 12 July 2024

English (en)Translate (Translate)

MonitorScreen is a Pixel shader available in all Source Source games. It is intended for use with func_monitor, though any shader can be used. This applies various image effects to the rendered texture, then applies an overlay on top. This shader is unlit.

Supported effects

Shader parameters

$basetexture $texture2 $texture2transform $frame2 $contrast $saturation $tint