Jump to content

[solved] GUI - CreateForMesh


Recommended Posts


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.


The box on the left uses GUI - the box on the right has all 3 things. Thanks.

Link to comment
Share on other sites



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

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...