MonitorScreen: Difference between revisions
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| | {{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

This article is an orphan, meaning that few or no articles link to it.
You can help by
adding links to this article from other relevant articles.
January 2024
You can help by

January 2024


MonitorScreen
is a Pixel shader available in all 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