PortalRefract
Aliases: PortalRefract_DX9
Parameters
$flags <int> = 0
flags
$flags_defined <int> = 0
flags_defined
$flags2 <int> = 0
flags2
$flags_defined2 <int> = 0
flags2_defined
$color <color> = [1 1 1]
color
$alpha <float> = 1.0
alpha
$basetexture <texture> = "shadertest/BaseTexture"
Base Texture with lighting built in
$frame <int> = 0
Animation Frame
$basetexturetransform <matrix> = center .5 .5 scale 1 1 rotate 0 translate 0 0
Base Texture Texcoord Transform
$color2 <color> = [1 1 1]
color2
$srgbtint <color> = [1 1 1]
tint value to be applied when running on new-style srgb parts
$stage <int> = 0
Stage of portal rendering (0, 1, 2)
$portalopenamount <float> = 0.0
Portal open amount 0.0-1.0
$portalstatic <float> = 0.0
Portal static amount 0.0-1.0
$portalmasktexture <texture>
Mask texture
$texturetransform <matrix> = center .5 .5 scale 1 1 rotate 0 translate 0 0
Texcoord transform
$portalcolortexture <texture>
Color texture
$portalcolorgradientdark <color> = [0.0 0.0 0.0]
The dark end of a tint gradient if not using a color texture
$portalcolorgradientlight <color> = [1.0 1.0 1.0]
The light end of a tint gradient if not using a color texture
$portalcolorscale <float> = 0.0
Portal color scale
$time <float> = 0.0
Needs CurrentTime Proxy
$useonstaticprop <bool> = 0
Activate special mode to use this shader on a static prop