Jump to content
  • Advertisement
Sign in to follow this  
_Phalanx_

how to include Alpha channels in images?

This topic is 5170 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

how do i implement the alpha channel in my textures rather than just using a one colour total transparency colourkey. and how do i put these alpha values into my image? what programs allow me to do this? i am currently using Corel PhotoPaint 9, is that crap?

Share this post


Link to post
Share on other sites
Advertisement
tga files are a firm favourite for adding in alpha channels I think. The docs with your application should tell you how to do it.

Should that fail download a 3o day trial of Paint Shop Pro (www.jasc.com) I know its fairly easy to add alpha in that program and the documentation is great.

Share this post


Link to post
Share on other sites
Yep, TGA files are probably the preferred image format of choice - that or PNG if you want good compression. You can use Photoshop, Paint Shop Pro or my preference, the GIMP, to manipulate TGAs with alpha channels.

-Mezz

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I use .pngs because of the compression. If you are using OpenGL and need a texture loading library, DevIL (check sourceforge) works nicely at you giving it a file name ( "image.png" ) and it returning a GLuint refrenceing the texture.

Share this post


Link to post
Share on other sites
I'd say .png is the nicest choice. I'm using it in my OpenGL app and it works great. The compression makes it a hands-down sure-fire choice over TGA - think of the savings!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!