Add
Function
This function adds color to the R,G, B, A or Z channels. This will add
color to black areas, including those beyond the image frame, in case
you move the image later on. Any correction occuring outside of the DOD
can be corrected with the SetBGColor node. Shake's color is described
in a range of 0 to 1, so adding -1,-1,-1 will make your image completely
black. If you add the fifth value, depth, you will effectively be adding
a Z-channel with your add value to the image.
Parameters
|
Type
|
Defaults
|
Function
|
red,
green, blue, alpha, depth |
float
|
0,0,0,0,0
|
The amount to add to the image's rgbaz
channels. Shake's color is described as 0 to 1, so add 1,1,1 will
make your image completely white. |
Synopsis
image Add( image,
float red,
float green,
float blue,
float alpha,
float depth
);
Script
image = Add(image, red, green, blue, alpha, depth);
Command Line
shake -add red green blue alpha depth
Examples
shake lisa.iff -add .2
shake lisa.iff -add .1 .5 .2
shake lisa.iff -add .1 .5 .2 .2
shake lisa.iff -add .1 .5 .2 .2 -savescript example.shk
See Also
Mult, Gamma
|