Making 3D product viewers fast on everyday phones
Practical techniques that keep browser-based 3D light enough for mid-range Android devices.
Interactive 3D on a product page can help buyers understand shape, size and finish in a way photos cannot. It can also add megabytes to the page and drain a phone's battery. Most of the performance is decided before any code is written: how the model is prepared, how assets are compressed and when the viewer loads.
Start with the right model
CAD files exported straight from engineering software are built for manufacturing, not for screens. They often contain internal parts, fasteners and far more geometry than a phone can draw smoothly. Remove what the buyer will never see, simplify curved surfaces, and bake fine detail into textures rather than geometry. Export as glTF or GLB, the standard format for 3D on the web.
Compress geometry and textures
- Use Draco or Meshopt compression to shrink geometry, often by a large margin.
- Textures are usually the heaviest part of a scene. Use the smallest size that still looks sharp, and use KTX2 with Basis Universal compression so textures stay compressed in GPU memory, not just over the network.
- Share materials and textures between parts wherever you can.
Load it at the right moment
A 3D viewer should never hold up the rest of the page. Show a lightweight poster image first, then load the 3D library and model when the viewer scrolls into view or when the visitor taps to interact. Visitors who never interact never pay the cost, and the page's main content stays fast.
Respect the device
- Cap the rendering resolution on high-density screens. Drawing at a modern phone's full pixel ratio multiplies the work for little visible gain.
- Render only when something changes rather than every frame, so an idle viewer uses almost no battery.
- Prefer baked lighting and a simple environment map to real-time shadows on mobile.
- Watch the frame rate and step down effects, or fall back to images, on devices that struggle.
Test on real hardware
Desktop browsers and flagship phones hide problems. Keep a mid-range Android phone on the team and set a budget: a maximum download size per model, a time until the viewer is usable and a target frame rate. Check every new model against that budget before it goes live.
Do not forget accessibility and search
Search engines and screen readers cannot see inside a canvas. Keep the product name, description, specifications and photos in normal HTML alongside the viewer. Provide buttons or keyboard controls for rotating and switching variants, and respect the reduced-motion setting by not auto-rotating for visitors who have asked for less motion.