Sprite

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

$spriteorigin <vec3> = [0 0 0]

sprite origin

$spriteorientation <int> = 0

sprite orientation

$spriterendermode <int> = 0

sprite rendermode

$ignorevertexcolors <bool> = 1

ignore vertex colors

$nosrgb <bool> = 0

do not operate in srgb space

$hdrcolorscale <float> = 1.0

hdr color scale

$overlay <bool> = 0

enable overlay

$overlaytexture <texture> = "shadertest/BaseTexture"

overlay texture

$shadowdepth <bool> = 0

shadow depth pass