brianzinn Posted September 8, 2018 Share Posted September 8, 2018 Hi, I have a Virtual Keyboard rendering behind Button3D and in front of a regular mesh (when physically in front of both). Has anybody come across this? https://www.babylonjs-playground.com/#0JMGVC#6 If there's not something I have missed (renderingGroupId does not work) then I will keep investigating the ordering Textures are rendered. Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted September 10, 2018 Share Posted September 10, 2018 Hey! this is because the 2D GUI is transparent by default. But as the 3D GUI is rendered afterwards, it will overwrite everything that is transparent So the fix: https://www.babylonjs-playground.com/#0JMGVC#12 brianzinn 1 Quote Link to comment Share on other sites More sharing options...
brianzinn Posted September 10, 2018 Author Share Posted September 10, 2018 I figured something with blend mode, but couldn't connect it that way. That also explains the onlyAlphaTesting parameter for CreateForMesh(). Got it. Thanks! GameMonetize 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.