Modulate

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

$writez <bool> = 0

Forces z to be written if set

$mod2x <bool> = 0

forces a 2x modulate so that you can brighten and darken things

$hdrscale <float> = 1

Scales color value

$cloakpassenabled <bool> = 0

Enables cloak render in a second pass

$cloakfactor <float> = 0.0
$cloakcolortint <color> = [1 1 1]

Cloak color tint

$refractamount <float> = 2