Description:
This mode has nothing in common with the hard light mode (except for its name).
It is very similar to the Photoshop soft light mode, for dark blend colors it is identical, for bright ones it differs a bit.
It does not share the disadvantage of the Photoshop soft light mode.
Formula:
f(a,b) = (1 - a) * ab + a * [1 - (1 - a) * (1 - b)]
or
f(a,b) = (1 - a) * multiply(a,b) + a * screen(a,b)
or
f(a,b) = 2ab + a
2 - 2a
2b
or about
f(a,b) =
a - (½ - b) * [½ - (½-a)2] (for b < ½)
a + (b - ½) * [½ - (½-a)2] (else)
Code: