Shb Posted December 28, 2017 Share Posted December 28, 2017 I can't seem to get a custom-mesh transparent by altering the alpha values on the color vertex data I've even tried flipping the normals but nothing seems to work :`( here is the play-ground : http://playground.babylonjs.com/#0MJ7M4 Thanks Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 28, 2017 Share Posted December 28, 2017 Hello, you need to tell the engine that vertex alpha has to be used: http://playground.babylonjs.com/#0MJ7M4#1 (See last line) Shb 1 Quote Link to comment Share on other sites More sharing options...
Shb Posted December 28, 2017 Author Share Posted December 28, 2017 Thank you soooo much ! I thought I had hit a dead end at this point and I was beginning to lose hope I even considered individual meshes which I could adjust transparency for but I couldn’t get them lined up such the their seems wouldn’t interfere with one another resulting in dark lines, I got a sub optimal solution with shadow maps and CSG but I knew that wasn’t the way to go. (I didnt seem to see that last bit on the docs :/) Thanks for making Babylon btw Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 29, 2017 Share Posted December 29, 2017 Thanks for your kind words. Creating documentation is such a complex project. Even more complex than creating the engine itself I want to thank all documentation contributors (Special thanks to @JohnK) because without them the doc would be really bad! Shb 1 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.