Portal
Aliases: Portal_DX90
Parameters
$flags <int> = 0
flags
$flags_defined <int> = 0
flags_defined
$flags2 <int> = 0
flags2
$flags_defined2 <int> = 0
flags2_defined
$color <color> = {255 255 255}
unused
$alpha <float> = 1.0
unused
$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
$staticamount <float> = 0.0
Amount of the static blend texture to blend into the base texture
$staticblendtexture <texture>
When adding static, this is the texture that gets blended in
$staticblendtextureframe <int> = 0
$alphamasktexture <texture>
An alpha mask for odd shaped portals
$alphamasktextureframe <int> = 0
$renderfixz <int> = 0
Special depth handling, intended for rendering bug workarounds for extremely close polygons
$usealternateviewmatrix <int> = 1
Use the alternate view matrix instead of the current view matrix
$alternateviewmatrix <matrix> = 0
The alternate view matrix to use when $usealternateviewmatrix is enabled