Ferret Posted January 8, 2012 Share Posted January 8, 2012 I have a windwow with a semi transparent texture for the glass. This is the material i use for the glass, texture0="abstract::GlassBlueMedium.dds" blend=alpha shader="abstract::mesh_diffuse.vert","abstract::mesh_diffuse.frag" I can see trough the glass but everything behind the glass is clipped. How can i fix this? Quote JFerret Design - Free Games and Resources! Link to comment Share on other sites More sharing options...
Rick Posted January 8, 2012 Share Posted January 8, 2012 Are you loading the model that uses this into the transparent world (if using the framework)? Quote Link to comment Share on other sites More sharing options...
Josh Posted January 8, 2012 Share Posted January 8, 2012 Add this line in the material file: zsort=1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Ferret Posted January 8, 2012 Author Share Posted January 8, 2012 That worked, thx! Quote JFerret Design - Free Games and Resources! 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.