Dad72 Posted September 10, 2018 Share Posted September 10, 2018 The GUI texture should be in the foreground, but it does not work on a Viewport. It is the Viewport that is always at the forefront. http://www.babylonjs-playground.com/#UCFKM#101 On my project I have a minimap with zoom and delete button that overlaps the viewport, but the button is not in the first plant: Quote Link to comment Share on other sites More sharing options...
Guest Posted September 10, 2018 Share Posted September 10, 2018 This is because the minimap layer is rendered after everything else so it will overwrite your GUI A fix could be to have the GUI on the same layerMask: http://www.babylonjs-playground.com/#UCFKM#103 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted September 10, 2018 Author Share Posted September 10, 2018 By doing this, my GUI is resizing to a much smaller size. It breaks all at once. I think I will rather shift the buttons to the right that will prevent me from breaking everything. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 10, 2018 Share Posted September 10, 2018 That works as well 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.