---
title: "Web and three.js polycount budgets | Spatial Compiler"
description: "Start a browser scene at 50,000 to 500,000 triangles on desktop and far less on phones. On the web the download counts too, so watch file and texture size."
canonical: https://appliedmanifold.com/mesh/polycount-web/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [meshfx](https://appliedmanifold.com/mesh/)
3.  Web polycount

meshfx // POLYCOUNT // WEB

# What polycount works for web 3D and browser games

For a browser scene, you can start with about 50,000 to 500,000 triangles on screen on desktop and much less on phones, and keep a single featured model between 20,000 and 100,000. On the web the download also counts, so file size and texture size often matter more than the triangle count.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx docs →](https://appliedmanifold.com/docs/mesh/)

pyrofx effects work today, and new accounts start with $5 of usage.

**MODULE // meshfx AVAILABLE**

meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the [Playground](https://appliedmanifold.com/playground/).

-   Desktop frame: 50,000 to 500,000 triangles
-   One featured model: 20,000 to 100,000
-   Textures often outweigh the mesh

01 // STARTING BUDGETS

## Starting budgets for a browser scene

-   A product viewer or a single featured model: 20,000 to 100,000 triangles.
-   A character in a browser game: 2,000 to 20,000 triangles.
-   The whole frame in a desktop browser: 50,000 to 500,000 triangles. Phone browsers need much less, so test on one early.
-   The first download: small enough that the first view appears in a few seconds on a phone connection.

02 // FILE SIZE

## Shrink the file and its textures

A GLB stores a position, normal and UV for every vertex. Textures also affect download time.

1.  Export the model as GLB, which loads in a single request.
2.  Decimate meshes the camera never sees up close, and add LODs to the rest.
3.  Resize each texture to the largest size it appears on screen, and pack roughness, metallic and occlusion into one [ORM texture](https://appliedmanifold.com/learn/orm-texture/).
4.  Compress the geometry with Draco (the `KHR_draco_mesh_compression` extension) when you export, and load it in three.js with `DRACOLoader`.
5.  Load the scene and read `renderer.info` to confirm what the frame draws.

03 // MEASURE

## Count triangles in three.js

`renderer.info.render` reports what the last frame drew. Show it on screen while you turn the camera to your busiest view.

stats.js

```
renderer.setAnimationLoop(() => {
  renderer.render(scene, camera);
  const { triangles, calls } = renderer.info.render;
  statsEl.textContent = `${triangles} triangles, ${calls} draw calls`;
});
```

Check frame time in the browser's performance panel on a laptop and on a phone. If the triangle count looks fine and the frame is still slow, look at draw calls (one per mesh and material) and at large transparent surfaces.

04 // meshfx

## meshfx for web polycount

meshfx reduces toward a triangle budget and makes LODs by count, ratio, explicit budgets or error. Each level reports measured distance, outline and faults. Godot 4 is the supported output target. Hosted meshfx runs are available in the Playground.

05 // RELATED

## Related pages

-   [Mobile polycount AvailableStarting triangle budgets for mobile characters, props and whole frames, plus how to measure them on a real phone.](https://appliedmanifold.com/mesh/polycount-mobile/)
-   [LOD in three.js AvailableBuild LOD in three.js with THREE.LOD and addLevel, stop flicker with hysteresis, and keep the extra levels light for the download.](https://appliedmanifold.com/mesh/lod-threejs/)
-   [FBX to GLB AvailableConvert an FBX file to GLB by hand, and what changes on the way: units, axes, materials, n-gons and animation.](https://appliedmanifold.com/mesh/convert-fbx-to-glb/)
-   [Polycount and budgets AvailablePolycount is a model's triangle count, which sets its cost, and budgets depend on platform, distance and how many copies you draw.](https://appliedmanifold.com/learn/polycount/)
-   [glTF and GLB AvailableglTF is an open 3D format for meshes, materials and animation, and GLB is the same data packed into one binary file.](https://appliedmanifold.com/learn/glb-gltf/)
-   [Pack an ORM texture AvailablePack ambient occlusion, roughness and metallic into one ORM texture, and where it goes in glTF, Godot, Unreal, Unity and Roblox.](https://appliedmanifold.com/mesh/pack-textures-orm/)
-   [meshfxmeshfx reads an input model, repairs surface faults and compiles reduced GLB levels of detail for Godot, three.js or any glTF loader.](https://appliedmanifold.com/docs/mesh/)

[All pages in meshfx →](https://appliedmanifold.com/mesh/)

[← Mobile polycount](https://appliedmanifold.com/mesh/polycount-mobile/)[VR polycount →](https://appliedmanifold.com/mesh/polycount-vr-headset/)

06 // FAQ

## Web polycount questions

[All questions →](https://appliedmanifold.com/faq/)

**README.POLYCOUNT\_WEB**

### How do I make a three.js scene load faster?

Export as GLB, compress geometry with Draco, shrink textures to screen size and load the opening view before streaming the rest.

### How do I load a glTF model in three.js?

Use GLTFLoader to load the file and add gltf.scene to your scene, attaching DRACOLoader first if the geometry uses Draco compression.

### What is a good polygon budget for a prop in a browser game?

Start browser game props at 200 to 2,000 triangles with small textures, while a single product viewer can afford 20,000 to 100,000.

### What is polycount in web 3D?

Polycount is the number of triangles in a model, which drives both rendering speed and GLB download size in a browser.

## Explore meshfx outputs

Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx →](https://appliedmanifold.com/docs/mesh/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
