|
opacity (transparency)
| |
Introducing an opacity factor o you can mix every mode with an "invisible mode":
finvisible(a,b) = a
so
fopacity(a,b,o) = o * f(a,b) + (1 - o) * a
Transparency t is defined as t = (1 - o), so
ftransparency(a,b,t) = (1 - t) * f(a,b) + t * a
Code:
|
|