🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Setting the alpha value... (IRT: Lesson 20)

Started by
0 comments, last by Xersist 24 years ago
In reference to lesson 20. @ the bottom Eric stated that you can check each pixle in your image and set the alpha value to 0 or 255. Can someone point me in the direction or post a code sniplet(s) that shows you how to do this? Thanks! -X-
-X-
Advertisement
That''s actually done by adding an alpha channel to your image using an image editor (it creates a grayscale image which is stored in your image), you would then load your image as RGBA instead of RGB.

Morgan

This topic is closed to new replies.

Advertisement