bloodbob said:Ehh the alpha blend surfaces aren't supposed to obstruct a bloom. I could be wrong but when you alphablend with a value of say 0.99 isn't 0.99 written to the frame buffer? If so then when you read the alpha value out of the frame buffer isn't it going to be 0.9? Won't such a high number bloom?
Yes you're right, it's the surface causing the bloom that should be obstructed (which is what happens).
The alpha value written to the frame depends on the state of DESTBLENDALPHA & SRCBLENDALPHA (SEPERATEALPHABLENDENABLE must be true).
When using alphablending, I set dest to INVSRCALPHA and src to ZERO which have the effect that the value written to the framebuffer is the one already in it blended with zero. This is just like regular blending except that i've forced the incoming alpha to 0.
For normal surfaces I just turn off alphablending and the frambuffer alpha is written as is.