Jump to content
  • Advertisement
Sign in to follow this  
matt77hias

Transparency and DDS textures

This topic is 428 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 does one normally detect if a texture contains an alpha less than 1?

Currently, I am conservative and just check the DXGI_FORMAT. But if I want to use BC formats for all my textures, than all textures will be categorized as transparent?

I use this distinction to group my models into opaque and transparent models.

Share this post


Link to post
Share on other sites
Advertisement
5 minutes ago, GuyWithBeard said:

I require the material (referencing the textures and used by the model instance) to specify if it is rendered during the opaque or transparent pass.

Thanks, that is probably the most robust.

Edited by matt77hias

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!