Hi Paul (sorry about the K in my last message typo)
> * BLEND_ZERO - the blend function is f = 0.
> * BLEND_ONE - the blend function is f = 1.
> * BLEND_SRC_ALPHA - the blend function is f = alphasrc.
> * BLEND_ONE_MINUS_SRC_ALPHA - the blend function is f = 1 - alphasrc.
>
> which take the alpha value (or 0 or 1) in the blending equation.
> What I want is
> the color itself to be used in the blending equation, which is necessary to
BLEND_ONE is what you're looking for or simply:
final_color = f_src * src_color + f_dest * dest_color
BLEND_ONE would mean
final_color = 1 * src_color + f_dest * dest_color
BLEND_ZERO would mean
final_color = 0 * src_color + f_dest * dest_color
BLEND_SRC_ALPHA would mean
final_color = alpha_src * src_color + f_dest * dest_color
BLEND_ONE_MINUS_SRC_ALPHA would mean
final_color = (1-alpha_src) * src_color + f_dest * dest_color
Hope this helps though I am not sure what sort of filter you're looking
for.
EOF,
J.D.
--
Jmark2k+1 (http://www.antiflash.net/jmark)
Test the performance of your PC online!
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".