Core

Aliases: Core_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

$refractamount <float> = 2
$refracttint <color> = [1 1 1]

refraction tint

$normalmap <texture> = "models/shadertest/shader1_normal"

normal map

$bumpframe <int> = 0

frame number for $bumpmap

$bumptransform <matrix> = center .5 .5 scale 1 1 rotate 0 translate 0 0

$bumpmap texcoord transform

$time <float> = 0.0f
$envmap <texture> = "shadertest/shadertest_env"

envmap

$envmapframe <int> = 0

envmap frame number

$envmaptint <color> = [1 1 1]

envmap tint

$envmapcontrast <float> = 0.0

contrast 0 == normal 1 == color*color

$envmapsaturation <float> = 1.0

saturation 0 == greyscale 1 == normal

$flowmap <texture>

flowmap

$flowmapframe <int> = 0

frame number for $flowmap

$flowmapscrollrate <vec2> = [0 0

2D rate to scroll $flowmap

$corecolortexture <texture>
$corecolortextureframe <int>
$flowmaptexcoordoffset <float> = 0.0
$entityorigin <vec3> = 0.0

center of the model in world space