Color Op

From GameStudio Wiki

Jump to: navigation, search

Overview of the colorops that can be used with PS and FF.

image:One.jpg image:Two.jpg image:Three.jpg
Texture 1, texture 2 and texture 3(alpha).
image:Add.jpg
Result = Texture1 + Texture2
 ColorOp[n] = Add;
 
image:Addsigned.jpg
Result = Texture1 + Texture2 - 0.5
 ColorOp[n] = AddSigned;
 
image:Add.jpg
Result = (Texture1 + Texture2 - 0.5) * 2
 ColorOp[n] = AddSigned2x;
 
image:Addsmooth.jpg
Result = Texture1 + Texture2 - (Texture1 * Texture2)
 ColorOp[n] = AddSmooth;
 
image:Modulate.jpg
Result = Texture1 * Texture2
 ColorOp[n] = Modulate;
 
image:Modulate2x.jpg
Result = (Texture1 * Texture2) * 2
 ColorOp[n] = Modulate2x;
 
image:Modulate4x.jpg
Result = (Texture1 * Texture2) * 4
 ColorOp[n] = Modulate4x;
 
image:Subtract.jpg
Result = Texture1 - Texture2
 ColorOp[n] = Subtract;
 
image:Multiplyadd.jpg
Result = Texture1 + (Texture2 * Texture3)
 ColorOp[n] = MultiplyAdd;
 
image:Lerp.jpg
Result=Texture1*Texture2+(1-Texture1)* Texture3
 ColorOp[n] = Lerp;
 

Table conversion by Nmn.

Personal tools