Homeworld Effects Manual: setAddColor()
setAddColor(float red, float green, float blue)
Useful values: [0 - 1] for all three variables
Default values (0,0,0)
Adds color to a texture.
setAddColor() adds an amount of red, green, and blue to every pixel in the textures on an object. 0.0 is no added color, and 1.0 is maximum color. Values are clamped at 1.0, so setAddColor(128, 3.5, 65534.9) is the same as setAddColor(1,1,1). If a particular pixel has an RGB value of (r,g,b), setAddColor will change it to (r + 255 * red, g + 255 * green, b + 255 * blue)
setAddColor() is disabled by setLighting(1).
setAddColor(0,0,0)
setAddColor(1,0,0)
setAddColor(0.5,0.5,0.5)
setAddColor(0.0,0.2,.14159)