[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Pre-multiplied alpha



Brian Fisher wrote:

One ghetto way you could do it by rendering the surface to an opaque
black surface, then copying the original image's alpha over the opaque
black surface's alpha.
Good idea!

Is this for sending the pygame surface data to some other library or something?
Yes, its for an OpenGL blending effect.

Will