# The first frame of a WebGPU room

<https://www.thecave.pt/insights/first-frame-of-a-webgpu-room>

Alexandre Costa · 20 Nov 2026 · Engineering · 1 min read

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.

## 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.

## Related services

[Websites](https://www.thecave.pt/services/websites)

[Custom software](https://www.thecave.pt/services/custom-software)
