Vi3W
Skip to content

Guides

3D assets for web games: one HTML5 studio's story

3D assets for web games through an HTML5 studio's story: GLB, file size, face counts, texture atlases, portals' limits and building light assets with Vi3W.

2 min read

A laptop on a wooden desk with a notebook and coffee
Photo: public domain / CC0, via Openverse. Illustrative story.

Quick answer

What makes a good 3D asset for a web game?

Web game assets must download and render fast in a browser, often on phones: GLB files with low face counts, small compressed textures, shared materials and atlases, few draw calls and sensible level of detail. Formats like glTF/GLB with mesh and texture compression are the standard for engines such as Three.js, Babylon.js and PlayCanvas.

Illustrative story. Tinyquest Games is a fictional company and this is a made-up scenario, written to show a realistic workflow. The people, numbers and outcomes in it are invented for illustration and are not a Vi3W customer's results. The tools, steps and Vi3W features are real.

Every megabyte cost players

Tinyquest Games is a fictional studio making 3D browser games for web game portals. Their data was blunt: the bigger the first download, the more players left before the game started. Their newest game, a low-poly island adventure, was too big.

The budget

They set budgets per game:

A clean white desk with a notebook, phone and laptop
Photo: public domain / CC0, via Openverse.
  • Initial download kept small, with the rest streamed in later.
  • Per-prop face budgets by size on screen.
  • Textures: shared atlases, compressed formats.
  • Draw calls: kept low for phones.

The asset rules

  1. GLB everything. One file per asset, with textures inside. See GLB vs glTF.
  2. Generate to budget. New props were made with Vi3W's text to 3D and then rebuilt with Clean shape at the face count for their tier, so nothing started heavy.
  3. Compress. Make it lighter shrank each file, and the team added mesh compression in their build step. See reducing GLB file size.
  4. One palette. New paint job gave every prop the same small palette, which made atlasing easier and the game more cohesive.
  5. Load in stages. The first island loaded first, and the rest streamed in while the player was busy.

What they generated

Palm trees, rocks, huts, a pier, treasure chests, crabs and a lighthouse, all in one low-poly style. The crab enemies were rigged with Add bones using It's an animal and given a Walk with Make it move.

What changed

In this illustrative story, the game's initial download dropped sharply, more players made it past the loading screen, and the asset rules became the studio's standard for every new game.

Lessons you can steal

  • Set a download budget before making assets.
  • Build to the face budget, don't cut down later.
  • Share a palette and atlas.
  • Stream what the player doesn't need yet.

For the engine side, see making a Three.js game. For mobile games generally, see low-poly assets for mobile games.

Make a prop to budget

Generate one prop and rebuild it at your tier's face count. Open Vi3W.

Frequently asked questions

how to make a three js game

Set up a Three.js scene with a camera, lights and renderer, load GLB models with GLTFLoader, add your game loop for input and logic, use a physics library if needed, and keep assets small for fast loading.

Last reviewed