[Jitblit] GLSL shader for OVER operation (version 1)
daniel.amelang at gmail.com
Sat Mar 24 17:43:22 PST 2007
On 3/23/07, Bert Freudenberg <bert at freudenbergs.de> wrote:
> That would assume source is not pre-multiplied - why?
Good catch; it is pre-multiplied. I'll fix the shader later.
> Also, I'm pretty sure you could write src_pixel.a which is simpler
> and might be more efficient.
Good point. I looked this up in the orange book, and it looks like
they are semantically equivalent, but I do like your "src_pixel.a"
better. Better shader style, methinks.
It's good to have you on board, Bert! Thanks for the help.
More information about the JitBlit