Description
Plugin ID
Parameters
Supported Interfaces

Description

Plugin ID

2005072206 (decimal)

Parameters

color_a - acolor texture

The first color

color_b - acolor texture

The second color

mult_a - float texture

Multiplier for the first color

mult_b - float texture

Multiplier for the second color

result_alpha - float texture

The alpha for the result; if not specified, the resulting alpha taken from the first color)

mode - integer = 0

Which output should be considered as the output of the main texture (0 - result_a, 1 - result_b, 2 - product, 3 - sum, 4 - difference, 5 - power, 6 - division, 7 - Minimum, 8 - Maximum, 9 - absolute difference)

product - output acolor texture

(color_a*mult_a)*(color_b*mult_b)

division - output acolor texture

(color_a*mult_a)/(color_b*mult_b)

minimum - output acolor texture

Min(color_a*mult_a , color_b*mult_b)

maximum - output acolor texture

Max(color_a*mult_a , color_b*mult_b)

sum - output acolor texture

(color_a*mult_a)+(color_b*mult_b)

difference - output acolor texture

(color_a*mult_a)-(color_b*mult_b)

result_a - output acolor texture

color_a*mult_a

result_b - output acolor texture

color_b*mult_b

red - output float texture

(color_a*mult_a).r

green - output float texture

(color_a*mult_a).g

blue - output float texture

(color_a*mult_a).b

alpha - output float texture

(color_a*mult_a).a

intensity - output float texture

mult_a*(color_a.r+color_a.g+color_a.b)/3.0

power - output acolor texture

(color_a*mult_a)^mult_b

Supported Interfaces

EXT_TEXTURE