Hello!
Is it possible to set the alpha channel of a surface using a b/w bitmap of the same size of the surface ???
thanks
MandarX------------------------
http://mandarx.xoom.it/index.php?lang=eng
Hello!
Is it possible to set the alpha channel of a surface using a b/w bitmap of the same size of the surface ???
thanks
MandarX------------------------
http://mandarx.xoom.it/index.php?lang=eng
I don’t believe SDL provides a function that does this, but you can
certainly write such a routine yourself, using direct pixel access
(see http://www.libsdl.org/cgi/docwiki.cgi/Pixel_Access)
– BrianOn 4 March 2010 09:10, mandarx wrote:
Hello!
Is it possible to set the alpha channel of a surface using a b/w bitmap of
the same size of the surface ???
Brian Barrett wrote:
I don’t believe SDL provides a function that does this, but you can
certainly write such a routine yourself, using direct pixel access
(see http://www.libsdl.org/cgi/docwiki.cgi/Pixel_Access)– Brian
thanks, I’ll try if I don’t resolve this problem:
http://forums.libsdl.org/viewtopic.php?t=6053------------------------
http://mandarx.xoom.it/index.php?lang=eng
mandarx wrote:
thanks, I’ll try if I don’t resolve this problem:
http://forums.libsdl.org/viewtopic.php?t=6053
I solved it!!!------------------------
http://mandarx.xoom.it/index.php?lang=eng