brianzinn Posted June 4, 2017 Share Posted June 4, 2017 Hi, I had already some meshes with text that I had made into buttons and am trying to convert them to use GUI. I have a PG with 3 things that I would like to add: 1. I have the AdvancedTexture on 2 sides of a mesh. Notice that if you rotate the scene 180 degrees that the "back" button is being displayed in front of the front (So, text appears mirrored). 2. I would like to see the original mesh. 3. Optionally, would be nice to have mouse-over with a hand icon cursor. I think this is easy with pointerEnterAnimation. https://www.babylonjs-playground.com/#CL8C6T The box on the left uses GUI - the box on the right has all 3 things. Thanks. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 4, 2017 Share Posted June 4, 2017 Hey! So: 1. AdvancedTexture are automatically mapped to a material with backFaceCUlling = false. You can fix it easily: https://www.babylonjs-playground.com/#CL8C6T#1 2. Just set opacityTexture to null: https://www.babylonjs-playground.com/#CL8C6T#2 3. Agree you can do it with PointerEnter jerome and brianzinn 2 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.