Re: [pygame] blit-add to white bug?

2015-08-05 Thread DR0ID
Hi Yes, that makes sense, why didn't I see that myself! I will check the colors in the images and make an example for each combination. Thanks for the eye opener. ~DR0ID On 2015-08-05 20:34, Christopher Night wrote: Pretty sure that's the expected/desired behavior. When you do this, for ea

Re: [pygame] blit-add to white bug?

2015-08-05 Thread Christopher Night
Pretty sure that's the expected/desired behavior. When you do this, for each pixel, any of the rgb channels that's 0 will remain at 0, and any that's nonzero will get maxed out to 255. The orange starts at r,g,b = 255,102,0. When you blit it over itself 255 times, the green channel gets maxed out t

[pygame] blit-add to white bug?

2015-08-05 Thread DR0ID
Hello I have been experimenting with the blit method and its blend options. I think I have stumbled over a bug either in pygame or SDL (I can't tell). Its when adding a surface with itself. When adding it 255 times all color values that were > 0 will be maxed out to 255. It works most of the