Skip to content
THE CAVE
← Blog

The first frame of a WebGPU room

A sudden change from an initial image to the 3D camera can look like a bug. The entrance should stay visually coherent while the room prepares.

Alexandre Costa1 min read

The green orb and the corridors rendered in the WebGPU room

Key takeaways

  • Keep the framing consistent between the arrival and the first 3D frame.
  • Deliver readable text and navigation while the graphics prepare.
  • Measure first paint and the first 3D frame separately, with cold and warm caches.

Design the entrance as part of the scene

Define the camera framing visitors will eventually see. A temporary image with a different crop changes apparent scale and object positions. A backdrop matching the room palette can keep the entrance stable while the first frame prepares.

Keep reading independent of graphics

Deliver the heading, navigation and links as HTML. Let the renderer prepare separately. Show the canvas once the scene has a composed frame ready to replace the backdrop.

Record both visits

Review a cold-cache visit and a repeat visit. Measure the first content and the first 3D frame separately. Also check what remains available if the device cannot start the scene.