Glass game UI
Pick three test backgrounds from the game: bright grass or snow, dark water, and a busy roofline. Keep them available while tuning the HUD. A surface that looks legible over a menu mockup can disappear as soon as the player rotates the camera.
Build the panel from the text outward
Set the label, value, icon and disabled-state colors first. Give the panel a tinted backing that remains legible with backdrop sampling disabled. Add a fine edge highlight where it helps separate the panel from the world. Apply backdrop blur to the panel background. Render labels, numbers and icons above it at the display’s native density.
Use a persistent toolbar for tool selection and an inspector for actions on the selected object. In an upgrade list, show the current tier, the next tier, its price and what changes. Leave the panel open after purchase so the player can see the new state.
Keep a world-anchored inspector usable
Project the selected object’s anchor into CSS viewport coordinates each frame the camera moves. Measure the rendered panel, clamp it inside the viewport and flip it below the object when there is no space above. Let the world receive pointer input through empty overlay space. Give actual controls their own hit targets and visible keyboard focus.
Check it in motion
Pan behind an open menu at noon and at dusk. Read the smallest price, tab to an upgrade and activate it. Repeat at a narrow viewport with a long item name. For a recording, compare a 100% crop of the exported panel to the live HUD. Capture the UI and game at the same pixel size. Keep any cursor motion blur confined to the moving pointer.