Jump to content
  • Advertisement
Sign in to follow this  
_Phalanx_

How do I implement the Alpha channel in textures?

This topic is 5057 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? [Edited by - _Phalanx_ on August 19, 2004 3:23:33 AM]

Share this post


Link to post
Share on other sites
Advertisement
You can either use an image program that supports an alpha channel (be careful, some programs support alpha channels internally, but when saving to standard file types, like .bmp or .png, lose the alpha channel), or you can use the DirectX Texture Tool that comes with the SDK to combine a normal image, with a gray-scale image that represents the alpha, and save that as a .dds file.

Share this post


Link to post
Share on other sites
Some formats that support a alpha channel: Bmp (32-bit), Png, DDS (my favorite) and TGA.
I never used Corel PhotoPaint 9 but I think it supports at least Png files.

Share this post


Link to post
Share on other sites
I would also recommend using the DDS format and the texture tool. It is quite simple to use and well supported in the D3DX utilities (if you use those).

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!