Page 1 of 1

Alpha blending, is this an improvement?

PostPosted: Jul 23, 2006 @ 9:34pm
by manuel

PostPosted: Jul 25, 2006 @ 6:29pm
by Kzinti
Well RGB565 is sucky in that green has 1 more bit then the two other channels. That means that special care is needed for green when writting graphics code.

When using alpha-blending, you can't interpolate green with the same precision as red and blue. Because of this, it is possible to get some artifacts. You could apply some sort of dithering, but the fact is you will almost never see the difference and it comes at a performance cost.

I am surprise to see that much green in your shots though... Are you sure you are blending properly?

PostPosted: Jul 25, 2006 @ 10:35pm
by manuel

PostPosted: Jul 29, 2006 @ 3:07pm
by fast_rx

PostPosted: Jul 29, 2006 @ 7:12pm
by manuel

PostPosted: Aug 4, 2006 @ 5:06am
by j.edwards
Have you seen this post:



Tala showed here how it could be done with a single multiply.

PostPosted: Aug 4, 2006 @ 12:02pm
by manuel