Adding a simple tooltip for the image on the main window.
The tooltip will appear above the window on hover.
I ran into an alpha render order issue while working in this lab. It’s a quirk of the transparent 2D GUI and how Babylon JS renders transparent items. To work around it I positioned the tooltip above the main window.
I have a few other ideas for tooltips that I may explore in future labs.
- The tooltip appears anchored to the hand or controller, close to the player
- The tooltip appears in a fixed position relative to the player, similar to subtitles in a VR game.
This lab is part of a project called Canvatorium, an experimental design lab for spatial computing. Learn more.