Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Multiexcerpt
MultiExcerptNameoperation

The following blend modes are available:

A
Passthrough A

Image RemovedImage Added

B
Passthrough B

Image RemovedImage Added

Atop
A * B.a + B * (1 - A.a)
Image RemovedImage Added

Average
(A + B) / 2
Image RemovedImage Added

Cojoint Over
A + B * (1 - A.a) /B.a, A if A.a > B.a
Image RemovedImage Added

Difference
abs(A - B)
Image RemovedImage Added

Disjoint Over
A + B * (1 - A.a) / B.a, A + B if A.a + B.a < 1

Image RemovedImage Added

Divide
A / B, 0 if B == 0
Image RemovedImage Added
Exclusion
A + B - 2 * A * B
Image RemovedImage Added
From
B - A
Image RemovedImage Added
Geometric
2 * A * B / (A + B)
Image RemovedImage Added
Hard Light
Screen, A * B if A < 0.5
Image RemovedImage Added
Hypot Diagonal
sqr(A * A + B * B)
Image RemovedImage Added
In
A * B.a
Image RemovedImage Added
Mask
B * A.a
Image RemovedImage Added
Matte
A * A.a + B * (1 - A.a)
Image RemovedImage Added

Max
max(A, B)

Image RemovedImage Added

Min
min(A, B)

Image RemovedImage Added

Minus
A - B
Image RemovedImage Added
Multiply
A * B
Image RemovedImage Added
Out
A * (1 - B.a)
Image RemovedImage Added
Over
A + B * (1 - A.a)
Image RemovedImage Added
Overlay
Screen, A * B if B < 0.5
Image RemovedImage Added
Plus
A + B
Image RemovedImage Added
Screen
A + B - A * B if A and B in 0..1, else max(A, B)
Image RemovedImage Added
Soft Light
Softer version of Hard Light
Image RemovedImage Added
Stencil
B * (1 - A.a)
Image RemovedImage Added
Under
A * (1 - B.a) + B
Image RemovedImage Added
Xor
A * (1 - B.a) + B * (1 - A.a)
Image RemovedImage Added

alpha_operation

...