AnnaBruel Posted January 31, 2018 Share Posted January 31, 2018 When the text isn't in center on transparent plane, we can't see the text. I would like the same opacity between the two texts. Have you some idea, please ? https://playground.babylonjs.com/#8WC0U7 -I tried to put a light on the side, it doesn't work -I tried to raise the altitude of the text, but the text will be very far from the plane Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 31, 2018 Share Posted January 31, 2018 Hello! As a general note, I suggest to try to keep the minimum amount of GUI texture for performance sake Regarding your question, the problem comes from the fact that all three planes are transparent and thus ordered based on their distance to the camera which is slightly the same so there is no good ordering You can fix it by changing the alpha Index of your planes: https://playground.babylonjs.com/#8WC0U7#3 OR you can also use the GUI integrated alignment mechanism: https://playground.babylonjs.com/#8WC0U7#2 Quote Link to comment Share on other sites More sharing options...
AnnaBruel Posted January 31, 2018 Author Share Posted January 31, 2018 Thank you very much, the first one works. I thought to the second solution, but I would like to exactly position it. Maybe using padding property like in the example : https://www.babylonjs-playground.com/#XCPP9Y#14, but it doesn't work. I think because of " CreateFullscreenUI" mode. 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.