Mince Posted February 4, 2013 Share Posted February 4, 2013 Hi there, I'm making a Game in Leadwerks 2.3 and am having trouble making my Glass.DDS transparent I am using Photoshop CS5 with the N-vidia DDS Plugin I Edited the .PNG file adding an Alpha Channel. I then Made the Whole alpha channel black and then exported it as a DXT5 (Reccomended) and In the game it is not Transparent. I Also generated Mip Maps in the plugin and Tried flattening the image also. Still it doesn't work. Quote Link to comment Share on other sites More sharing options...
ChrisMAN Posted February 4, 2013 Share Posted February 4, 2013 Did you change the material/mat file to use alphablending? Quote Link to comment Share on other sites More sharing options...
Mince Posted February 4, 2013 Author Share Posted February 4, 2013 Yes i Opened it in Notepad the .MAT File that is, and typed in Blend=1 and i also tried Blend=Alpha. Still no joy Quote Link to comment Share on other sites More sharing options...
ParaToxic Posted February 4, 2013 Share Posted February 4, 2013 You should use the alphablend or alphatest shader for example mesh_diffuse_aplhablend.frag ... Quote Link to comment Share on other sites More sharing options...
paramecij Posted February 5, 2013 Share Posted February 5, 2013 that alphatest shader just discards pxiels whose alpha is below 0.5, no transparency involved, just a cut-out, much like a color key.. but wouldn't all pure black alpha channel make your whole image totally transparent? Quote Link to comment Share on other sites More sharing options...
Mince Posted February 6, 2013 Author Share Posted February 6, 2013 Done it, thanks 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.