Advertisement

Blending

Started by October 13, 2017 01:29 PM
1 comment, last by matt77hias 7 years, 3 months ago

What is the "general" alpha value blending equation used in

  • alpha blending;
  • additive blending;
  • multiplicative blending;
  • 2x multiplicative blending?

🧙

Should this be 

(source.alpha × (1 - destination.alpha)) + (destination.alpha × 1)?

Case: source.alpha = 1 -> 1

Case: source.alpha = 0 -> destination.alpha

Case: source.alpha = destination.alpha = 0.5 -> 0.5 * 0.5 + 0.5 = 0.75

 

🧙

This topic is closed to new replies.

Advertisement