BaseToolbox LogoBaseToolbox
Blog

© 2025 BaseToolbox. All rights reserved.

Privacy PolicyAboutContact Us

How to Check a GLB Model Before Publishing It on a Website

Published on July 03, 2026

Before you publish a GLB model on a website, do not only check whether it opens. A model can load in your desktop viewer and still be too heavy, incorrectly scaled, missing textures, or incompatible with the runtime that will show it to users.

Use this checklist when preparing product models, portfolio assets, Three.js scenes, configurators, AR previews, or game props for web delivery. The goal is to catch obvious problems before the model reaches a production page.

1. Confirm the File Is Self-Contained

For website publishing, GLB is usually easier than folder-based glTF because it packages the scene and binary data into one file. A .gltf file can be valid but still reference external .bin files and images. If those assets are not deployed with the right paths, the model will fail in the browser.

Open the file in a local 3D model viewer. If the model only works on your computer because nearby texture files exist, convert or export a self-contained GLB before handoff.

2. Check File Size and Loading Budget

There is no single perfect file size. A hero product model, a thumbnail preview, and an internal design review can have different budgets. Still, the model should match the page experience.

Ask:

  • Is this model loaded above the fold?
  • Will mobile users see it?
  • Is it one model or part of a gallery?
  • Does the page already load large images, video, or scripts?
  • Can the user interact before the model is ready?

If the GLB is large, test a compressed version. But remember that compression can move cost from network download to CPU decoding.

3. Inspect Triangle and Vertex Counts

Triangle count affects rendering cost. Vertex count affects memory and processing. Dense scans, CAD exports, and sculpted models often contain more detail than a web canvas needs.

A high triangle count is not automatically wrong, but it should be intentional. If the model is a small product preview, a background prop, or a mobile asset, reduce geometry until the visual difference becomes noticeable. Keep the original model in case you need to re-export later.

4. Check Bounds and Scale

Bad scale can make a model seem broken. It might load far from the camera, appear tiny, appear huge, or clip through the near and far planes. Check the approximate bounding box before publishing.

If the bounds look strange, inspect:

  • exported unit settings
  • hidden objects included in the scene
  • origin placement
  • empty nodes far from the visible mesh
  • accidental duplicated geometry

A viewer that auto-fits the camera can hide scale problems, so also test in the actual page or runtime.

5. Check Textures and Materials

Textures often dominate GLB size. A model may have modest geometry but several 4K or 8K images packed into the file. For web use, resize textures to match how close users can zoom.

Also check material basics:

  • Are normal maps still correct?
  • Are metallic and roughness values preserved?
  • Do transparent materials sort acceptably?
  • Are texture colors too dark or washed out under website lighting?

If the model looks different between tools, the issue may be lighting, color management, missing extensions, or unsupported materials.

6. Test Compression Compatibility

Draco and meshopt can reduce model size, but your viewer must support the extension and load the decoder. Three.js GLTFLoader, for example, supports common glTF extensions but needs decoder setup for compressed assets. Check the official Three.js GLTFLoader documentation when configuring a runtime.

Do not publish a compressed GLB until it loads in the same stack that will run on the site.

7. Export a Screenshot for Review

A PNG preview is useful for tickets and approval. It lets teammates confirm the visible result without opening the full model. If a model is private, a screenshot is often safer than sharing the asset.

Keep the screenshot, original file size, compressed file size, and target page together in the handoff notes.

Quick Pre-Publish Checklist

Check Pass condition
File packaging GLB is self-contained or all glTF resources are deployed.
Size File size matches page and device budget.
Geometry Triangle and vertex counts are intentional.
Bounds Model appears at expected scale and origin.
Materials Textures and lighting look acceptable in the target viewer.
Compression Runtime supports required decoder.
Browser test The production-like page loads on desktop and a weaker device.

Quick Answer

Before publishing a GLB model, check packaging, file size, triangle count, vertex count, bounds, textures, compression extension support, and the real browser runtime. A model is ready when it loads reliably in the target viewer, looks correct, and matches the performance budget of the page.

Ready to try it yourself?

Put what you have learned into practice with our free online tool.

Inspect a 3D Model