fenomas Posted March 27, 2015 Share Posted March 27, 2015 Hi, Is it possible to have a partially transparent mesh which uses a texture with an alpha channel? It seems that naively combining the two doesn't work - texture.hasAlpha is ignored when material.alpha is less than 1:http://www.babylonjs-playground.com/#SIKGE Quote Link to comment Share on other sites More sharing options...
Temechon Posted March 27, 2015 Share Posted March 27, 2015 Hello ! http://www.babylonjs-playground.com/#SIKGE#1 The key is to have useAlphaFromDiffuseTexture in your material set to true. Quote Link to comment Share on other sites More sharing options...
fenomas Posted March 27, 2015 Author Share Posted March 27, 2015 Ah, thought it might be something like that. 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.