Mince Posted February 4, 2013 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
ChrisMAN Posted February 4, 2013 Posted February 4, 2013 Did you change the material/mat file to use alphablending? Quote
Mince Posted February 4, 2013 Author 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
ParaToxic Posted February 4, 2013 Posted February 4, 2013 You should use the alphablend or alphatest shader for example mesh_diffuse_aplhablend.frag ... Quote
paramecij Posted February 5, 2013 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
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.