Huehnerschaender
31-08-2004, 04:39 PM
Hello,
here is the problem:
I have a background and an image.
Image should be drawn transparent by transparentColor, but without the background shining through it. And in combination with this I need to draw it with Color-Value to make it shine brighter or darker....
If I use effectAdd, the background shines through.
If I use effectSrcAlpha the transparent pixels are also drawn.
If I combine (effectAdd or effectSrcAlpha) the same appears: transparent pixels are drawn, so that I get a black square aroung the image.
So how can I draw something with, let's say an 1-Bit-AlphaMask using TransparentColor? Is there a possibility to do it without painting a second black and white image containg Alpha?
Greetings,
Dirk
here is the problem:
I have a background and an image.
Image should be drawn transparent by transparentColor, but without the background shining through it. And in combination with this I need to draw it with Color-Value to make it shine brighter or darker....
If I use effectAdd, the background shines through.
If I use effectSrcAlpha the transparent pixels are also drawn.
If I combine (effectAdd or effectSrcAlpha) the same appears: transparent pixels are drawn, so that I get a black square aroung the image.
So how can I draw something with, let's say an 1-Bit-AlphaMask using TransparentColor? Is there a possibility to do it without painting a second black and white image containg Alpha?
Greetings,
Dirk