BLEND.MODES.HELP
me
Content:
BLEND MODES%r
%r
Characters always overwrite the target framebuffer, unless otherwise specified in the function requesting the mode. A blend mode can sometimes be paired with a blend parameter, and is a ratio (fractional) value between 0 and 1%r
%r
When [color(254,0,blend mode)] parameters are requested, provide a single digit numerical value corresponding to this table:%r
%r
Value%t%tName%r
-----%t%t----%r
0%t%tOverwrite (default A=B)%tCharacters and colors will overwrite from source to target%r
1%t%tAdditive (A B)%tcolors will be additive%r
2%t%tSubtract (A-B)%tcolors will be subtractive%r
3%t%tSubtract (B-A)%tcolors will be subtractive%r
4%t%tTint source%tSource FB will overwrite applying FORE- and BACK-TINT where applicable%r
5%t%tDifference |B-A|%tcolors will be subtractive and then absolute value applied%r
6%t%tMultiply A*B%tcolor values will be multiplied together, this is a tinting operation%r
7%t%tAverage%tthe average of the source and destination colors will be computed%r
8%t%tCrossfade%tA weighted average will be applied based on the normalized (0.0-1.0) value in blend parameter%r
9%t%tMinimum%tthe minimum color channel value between source and dest will be chosen%r
10%t%tMaximum%tthe maximum color channel value between source and dest will be chosen%r
11%t%tAmplify%tThe destination color will be amplified by the source color%r
12%t%tAND%tThe binary operation AND will occur between the 255-integer version of the color RGB%r
13%t%tOR%tThe binary operation OR will occur between the 255-integer version of the color RGB%r
14%t%tXOR%tThe binary operation XOR will occur between the 255-integer version of the color RGB%r
15%t%tInvert%tThe inversion of the source color will be written to the destination buffer%r
16%t%tFade%tThe value of blend-param is multiplied with the source color (alpha write)%r
%r
One line version:
BLEND MODES%r%rCharacters always overwrite the target framebuffer, unless otherwise specified in the function requesting the mode. A blend mode can sometimes be paired with a blend parameter, and is a ratio (fractional) value between 0 and 1%r%rWhen [color(254,0,blend mode)] parameters are requested, provide a single digit numerical value corresponding to this table:%r%rValue%t%tName%r-----%t%t----%r0%t%tOverwrite (default A=B)%tCharacters and colors will overwrite from source to target%r1%t%tAdditive (A B)%tcolors will be additive%r2%t%tSubtract (A-B)%tcolors will be subtractive%r3%t%tSubtract (B-A)%tcolors will be subtractive%r4%t%tTint source%tSource FB will overwrite applying FORE- and BACK-TINT where applicable%r5%t%tDifference |B-A|%tcolors will be subtractive and then absolute value applied%r6%t%tMultiply A*B%tcolor values will be multiplied together, this is a tinting operation%r7%t%tAverage%tthe average of the source and destination colors will be computed%r8%t%tCrossfade%tA weighted average will be applied based on the normalized (0.0-1.0) value in blend parameter%r9%t%tMinimum%tthe minimum color channel value between source and dest will be chosen%r10%t%tMaximum%tthe maximum color channel value between source and dest will be chosen%r11%t%tAmplify%tThe destination color will be amplified by the source color%r12%t%tAND%tThe binary operation AND will occur between the 255-integer version of the color RGB%r13%t%tOR%tThe binary operation OR will occur between the 255-integer version of the color RGB%r14%t%tXOR%tThe binary operation XOR will occur between the 255-integer version of the color RGB%r15%t%tInvert%tThe inversion of the source color will be written to the destination buffer%r16%t%tFade%tThe value of blend-param is multiplied with the source color (alpha write)%r%r