nelsoncs Posted July 27, 2014 Share Posted July 27, 2014 I am trying to use Context::DrawImage(). When I create a .png image with a transparent alpha channel (screen shot #1) it has a transparent background. When I load this using DrawImage or when I view the auto-created texture in Leadwerks Ide, the background is solid black. Where have I gone wrong or how do I obtain a transparent .tex alpha channel? thanks Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted July 27, 2014 Share Posted July 27, 2014 For alpha textures you need to set the compression to dxt5. Quote Link to comment Share on other sites More sharing options...
nelsoncs Posted July 27, 2014 Author Share Posted July 27, 2014 Super, thanks Aggror. Looks like I need to read up on compression. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.