
1. Re: The math behind blending modes
Rick Gerard Feb 21, 2013 3:36 PM (in response to C.Mellor)You are over thinking this. It's just simple math. One layer with opacity set to 50% gives you an alpha value of half the range so with float enabled the range is 0 to 1 so the value is .5. That's easy and you get that.
Now add another layer to the mix with the opacity set to 50%. You now have one layer with half opacity BLENDED with another layer of half opacity so the total alpha value would be .5 for the first layer but .25 for the second. Throw in a third and you get .5 + .25 + (you guessed it) 12.5 for a value of .8570 Perfectly logical if you step back about 10 feet and take a look from another angle.
If you want the values to add then you simply change the blend mode to Alpha Add. Now the values add and two layers with an alpha value of .5 give you an alpha value of 1.
Hope this helps...
One more thought. Many times switching the Blend Mode to Alpha Add will help join the edges of 3D layers because it makes more opaque edges where the 3D layers meet by Adding the Alpha Values instead of combining them.

2. Re: The math behind blending modes
Todd_Kopriva Feb 21, 2013 4:31 PM (in response to C.Mellor)> I am not understanding the equation of .5 + .5 = .75
Take a piece of glass that lets half of the light through. Stack that on top of an identical pane of glass that lets half of the light through.
50% goes through the first one, leaving 50%. Half of that 50% gets through the second pane, meaning that 25% of the original gets through and 75% is blocked.
For indepth information about the concepts and algorithms behind these blending modes as implemented in several Adobe applications, see section 7.2.4 of version 1.7 of the PDF reference on the Adobe website.

3. Re: The math behind blending modes
Todd_Kopriva Feb 21, 2013 4:32 PM (in response to Todd_Kopriva)Ah, looks like Rick answered when I was in the middle of answering. Good to get confirmation, though.

4. Re: The math behind blending modes
C.Mellor Feb 21, 2013 5:44 PM (in response to Todd_Kopriva)Definitely needed to take a step back and think that through logically. Thanks for the help, everyone!

5. Re: The math behind blending modes
ScoJay Nov 28, 2013 7:39 AM (in response to Todd_Kopriva)This is helpful, and I went looking for the math for the algorithms. I didn't find a section 7.2.4, but I did find that Table 136 under section 11.3.5 had the Blend Modes and the math behind them. I think this is what you are referring to in your post.
Scott