Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Texture combining question

This topic is 5281 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

Hi all, on my journey to getting NVidia''s Dawn demo completely reverse engineered and working on a DX8 compatible system (I am limited to that really) I stumbled across another little thing. On various occasions NVidia doesn''t store the alpha channel for transparency together with the other three color channels but in a separate texture. They do that as they have different resolutions and formats of their color textures for GeForce FX and GeForce FX Ultra series. As DX8 only supports 4 texture stages (which are usually full when doing per-pixel lighting) I have to bake those two textures into one ARGB texture at load time. Now as I see it I have several possibilities: 1. Combine them using render-to-texture technique (hm, bit of a overkill really) 2. Decode the formats myself (too lazy to deal with DXT compression) 3. Use a 3rd party image library (my prefered way to go) So, if anyone knows a good image loading library that is published under the GPL and supports the most common texture formats (say, JPG, BMP, TGA, DDS) I''d be very happy to know about that... Thanks, Alex

Share this post

Link to post
Share on other sites

  • 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!