Blax
1
Hi!
https://www.babylonjs-playground.com/#HB4C01#188
Please comment string 27 (with setting up renderingGroupId) and compare results.
Perhaps it is a bug or not? All buttons on layer 2 lose text (and icons).
Task - interface must be render on top render layer, but… i do mistake or it is a bug?
sebavan
2
this only changes the rendering group id of the main mesh but not all the meshes involved in a button which would be more like:
https://www.babylonjs-playground.com/#HB4C01#189
This uses private fields so not that good and I wonder if we should add the notion of rendering group to the gui 3d controls: @Deltakosh ?
Blax
3
Thank you for answer, but, really we cant use private propertyes - is bad practice.
3D interface “on-top” scene layers IMHO can be useful
sebavan
4
Exactly why I asked @Deltakosh before adding official support
I’m all for that
Fancy doing a PR (should be straightforward to add the property on the button itself)?
(Or just create an issue on the forum so I won’t forget to add it)
sebavan
6
I will add it in my next nightlty in a couple of hours
sebavan
7
All good you can now use renderingGroupId directly on the holographicButton
2 Likes