

reflect mode
 
Description:
This mode is useful when adding shining objects or light zones to images.
Michael Hansen introduced it to me, and gave it this name.
The formula is similar to color dodge, but the result is not that bright in most cases.
The result looks a bit like soft light.
Formula:
f(a,b) = a^{2} / (1  b)
Disadvantage:
The formula can result in values greater than 1, so some truncation can occur (but not as extreme as for color dodge).
Code:



glow mode
 
Description:
This mode is a variation of reflect mode (base and blend color swapped).
I gave it this name because it is the "opposite" of reflect mode.
The result looks a bit like hard light.
Formula:
f(a,b) = b^{2} / (1  a)
Disadvantage:
The formula can result in values greater than 1, so some truncation can occur (but not as extreme as for inverse color dodge).
Code:



freeze mode
 
Description:
Another variation of reflect mode (base and blend color inverted, the result inverted again).
I'm seriously running out of names, but due to some examples I tried, I decided to take this name.
Formula:
f(a,b) = 1  (1  a)^{2} / b
Disadvantage:
The formula can result in values smaller than 0, so some truncation can occur (but not as extreme as for color burn).
Code:



heat mode
 
Description:
Another variation of reflect mode (like freeze mode, but base and blend color swapped).
I gave it this name because it is the "opposite" of freeze mode.
Formula:
f(a,b) = 1  (1  b)^{2} / a
Disadvantage:
The formula can result in values smaller than 0, so some truncation can occur (but not as extreme as for inverse color burn).
Code:






