ShadowModel
Aliases: ShadowModel_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
$basetextureoffset <vec2> = [0 0]
$baseTexture texcoord offset
$basetexturescale <vec2> = [1 1]
$baseTexture texcoord scale
$falloffoffset <float> = 0
Distance at which shadow starts to fade
$falloffdistance <float> = 100
Max shadow distance
$falloffamount <float> = 0.9
Amount to brighten the shadow at max dist