Real-Time 3D on the Web: The Decisions That Matter
Learn the decisions behind real-time 3D on the web: WebGL vs WebGPU, glTF compression, download budgets, loading, mobile testing and configurator design.
On this page
- What Real-Time 3D on the Web Actually Involves
- Choosing a Graphics API and Rendering Library
- Setting the Download Budget Before Modeling Begins
- Preparing Geometry for the Browser
- Textures, Materials and GPU Memory
- glTF 2.0 as the Delivery Standard
- Lighting, Shadows and Image Quality in Real Time
- Loading Strategy: Never Show a Blank Canvas
- Frame Rate and Testing on Devices Visitors Actually Use
- Configurators: Architecture for Many Combinations
- Fallbacks, Accessibility and Search Visibility
- Common Failure Patterns and When to Bring in Help
- Working on something like this?
Real-time 3D on the web means rendering an interactive three-dimensional scene directly in a browser tab, using the WebGL or WebGPU graphics APIs, with no plugin to install and no app to download. A shopper taps a link and can spin a sneaker, open the door of a car, or swap the fabric on a sofa. A facilities manager can walk through a floor plan on a tablet. A trainee can take apart a pump on a laptop. The scene is drawn fresh every frame on the visitor's own device, which is what separates it from a pre-rendered video or a stack of still images.
That immediacy is the whole appeal, and it comes with a hard constraint. Everything the scene needs, from geometry to textures to code, has to travel over the visitor's connection and fit inside the memory of whatever device they are holding, which is most often a mid-range phone. A desktop game can ask for a large install and a dedicated graphics card; a web page gets a few seconds of patience and a shared, thermally limited mobile GPU. The decisions that matter are therefore less about what is artistically possible and more about what can be delivered, decoded and drawn at a steady frame rate on ordinary hardware.
This field guide is for marketers, product owners and in-house teams weighing a 3D viewer or configurator, and for the artists and developers who will build it. It moves from fundamentals, meaning the APIs, the file format and the budget, through asset preparation, lighting, loading and testing, to the advanced problems of configurators and cross-device reliability.
- Baseline API WebGL 2, widely supported across current browsers
- Newer API WebGPU, with growing support and more modern GPU access
- Delivery format glTF 2.0, designed for efficient transmission and loading
- Compression Draco for geometry, KTX2 with Basis Universal for textures
- Performance target 60 frames per second on the target device, not the dev machine
- Main constraint Download size and memory on mobile devices
What Real-Time 3D on the Web Actually Involves
A browser-based 3D experience has four moving parts, and most project problems trace back to one of them being treated as an afterthought. First is the graphics API, the low-level interface the browser exposes to the GPU: WebGL 2 today, with WebGPU arriving. Second is the rendering engine or library that sits on top of the API and handles scenes, cameras, materials and loaders, so that nobody has to write raw shader plumbing for a product viewer. Third is the asset pipeline, the chain that takes models out of a design or DCC tool such as Blender, Maya, 3ds Max or a CAD package and turns them into compact, web-ready files. Fourth is the page integration: how the canvas loads, what shows while it loads, what happens on devices that cannot run it, and how the 3D view talks to the rest of the page, such as a price, a cart button or a variant selector.
The phrase "real-time" is the key distinction. An offline renderer can spend minutes or hours on a single frame to trace light accurately; a real-time renderer has roughly 16.7 milliseconds per frame if it is going to hit 60 frames per second. Everything in the scene has to be designed around that time budget. If you are still deciding whether your project should be interactive at all, or whether pre-rendered stills and turntable video would serve better, our guide to choosing between real-time and offline rendering walks through that decision in detail. The short version: choose real-time when the visitor needs to control the view or the configuration, and when the number of possible combinations would make pre-rendering every one impractical.
Where it earns its keep
The strongest use cases share a trait: the visitor learns something from interacting that they could not learn from a photograph. Product configurators with many options, where every combination would otherwise need a photo shoot. Products whose value is in their form or mechanism, such as furniture, footwear, machinery and consumer electronics. Spaces that people need to understand spatially, such as retail layouts, exhibition booths and real estate. Training and documentation where exploded views and step-by-step disassembly make a procedure clearer. By contrast, a 3D model that simply rotates on a product page, with no information the photos lacked, often costs more in load time than it returns in engagement.
Choosing a Graphics API and Rendering Library
For most commercial projects the question is not "WebGL or WebGPU" in the abstract but "which library, and which of its back ends." Very few teams write directly against either API. The practical choices fall into three tiers.
Declarative viewers
Web components such as Google's model-viewer take a glTF file and an attribute list and give you orbit controls, lighting, a poster image and augmented reality hand-off with almost no code. They are the fastest route to a product viewer and the right choice when the requirement is "show this object well." They become limiting when you need custom interactions, complex scene logic or unusual materials. Our guide to embedding 3D models on web pages covers this tier in depth, including the attributes that matter for loading and accessibility.
General-purpose libraries
Libraries such as Three.js, whose documentation and examples cover loaders, materials, post-processing and controls, and Babylon.js, a comparably complete engine, sit in the middle. They give full control over the scene graph and rendering while handling the heavy lifting of glTF loading, PBR materials and compressed texture support. Most configurators, interactive showrooms and data-driven 3D experiences are built at this tier, often wrapped in a framework integration such as React Three Fiber when the rest of the site is built in React.
Game engine exports
Engines such as Unity can export to the web, and Unreal Engine is used heavily for visualization with pixel streaming as its route to a browser. Engine exports bring powerful editors and familiar workflows but tend to produce larger downloads and longer start-up times than a purpose-built web scene. Pixel streaming sidesteps the device entirely by rendering on a server and sending video, which raises image quality but adds per-session server cost and depends on a low-latency connection. If your team is already committed to Unreal for other deliverables, our piece on Unreal Engine for visualization explains where it fits and where a lighter web stack is the better call.
WebGL 2 versus WebGPU
WebGL 2 is the safe baseline: it is widely supported, mature, and every major library targets it. WebGPU is a newer API modeled on modern native graphics interfaces, with compute shaders, lower CPU overhead per draw call and more predictable performance for complex scenes. Support is growing but is not yet universal across every browser, operating system and older device in circulation. The pragmatic approach for commercial work is to build on a library that supports both, ship WebGL 2 as the default path, and enable WebGPU where the browser supports it and the scene genuinely benefits, for example with very large instance counts or GPU-driven particle and simulation effects.
| Approach | Best for | Control | Typical overhead | Main trade-off |
|---|---|---|---|---|
| Declarative viewer (web component) | Single-product viewers, AR hand-off | Low | Small runtime | Limited custom logic and interaction |
| General-purpose library (Three.js, Babylon.js) | Configurators, showrooms, custom experiences | High | Moderate runtime, scales with features used | Requires developer time and 3D expertise |
| Game engine web export | Teams already invested in an engine | High | Large runtime and start-up cost | Heavier downloads, slower first view |
| Pixel streaming | Very high visual fidelity on any device | High | Server rendering per session | Ongoing server cost, latency sensitivity |
Setting the Download Budget Before Modeling Begins
The single most useful decision in a web 3D project is made before anyone opens a modeling tool: how many megabytes the experience is allowed to download before it becomes interactive, and how much GPU memory it may occupy once it is running. Without that number, artists model to the quality they are used to, developers discover the size problem during integration, and weeks go into emergency optimization. The idea is the same one the web.dev guidance on performance budgets applies to ordinary pages: agree on a limit, measure against it continuously, and treat an overrun as a bug rather than a matter of taste.
There is no universal right figure. The budget depends on where visitors arrive from (a paid social ad on mobile data is a different context from a returning customer on office Wi-Fi), how central the 3D view is to the page, and whether the experience can be split into an initial load and later on-demand loads. What matters is that the budget is explicit, split by asset type, and owned by someone.
Worked example: an illustrative furniture configurator
The following is an illustrative planning exercise, not a client project. Suppose a retailer wants a configurator for a modular sofa with three arm styles, four leg finishes and twelve fabrics. The team decides that the first interactive view must arrive within a total transfer of about 4 MB on a mid-range phone, with additional options streamed as the visitor picks them, and that the scene should stay under roughly 150 MB of GPU memory so it survives on devices that share memory between CPU and GPU.
| Asset | Initial load | On demand | Notes |
|---|---|---|---|
| Engine and app code (compressed) | 0.6 MB | 0 | Library plus configurator logic, tree-shaken |
| Sofa base geometry, Draco compressed | 0.5 MB | 0 | Default arms and legs included |
| Alternative arms and legs | 0 | 0.15 MB each | Loaded when selected, then cached |
| Default fabric texture set, KTX2 | 1.2 MB | 0 | Base color, normal, occlusion-roughness at 2048 |
| Additional fabrics, KTX2 | 0 | 0.6 to 1.0 MB each | Tiling textures, fetched on hover or tap |
| Environment lighting map | 0.4 MB | 0 | Prefiltered, low resolution is sufficient |
| Poster image (shown first) | 0.15 MB | 0 | Visible within the first second |
| Total | about 2.9 MB | grows with use | Leaves headroom inside a 4 MB ceiling |
Two things make this budget work. The fabrics tile, so a small texture can cover a large surface without visible repetition when paired with a detail normal map. And nothing is loaded that the visitor has not asked for: twelve fabrics at up to 1 MB each would triple the initial download if bundled, yet most visitors look at three or four. The same logic extends to camera animations, AR files and high-resolution zoom textures, which can all be deferred.
Tip: Write the budget into the brief the modelers receive, broken down per asset, alongside a triangle count and texture resolution for each part. A number the artist sees on day one saves far more time than an optimization pass in week six.
Preparing Geometry for the Browser
Geometry is where film and product-visualization habits cause the most damage. A model built for a close-up still render may carry millions of triangles, subdivision modifiers, hidden internal parts and bevels too small to see on a phone screen. Shipping that to a browser wastes download size, memory and frame time, and it is the most common reason a web scene stutters.
Start from the camera, not the source model
Decide how close the camera can get and at what screen size the object will appear. Detail that cannot resolve at the closest allowed zoom is wasted. For a product viewer where the object fills a phone screen, surface detail such as stitching, knurling or embossed logos belongs in a normal map rather than in geometry. Silhouettes, meaning the outline of the object against the background, are where triangle count is visible, so spend polygons on curves that define the silhouette and save them on flat faces.
Clean CAD and high-poly sources
CAD exports deserve special care. They often arrive as tessellated NURBS with uneven triangle density, duplicated faces, internal components no visitor will see, and thousands of separate objects. The preparation steps are consistent:
- Delete internal parts, fasteners and anything hidden in every configuration.
- Re-tessellate or retopologize to an even density appropriate to the viewing distance.
- Merge meshes that share a material to reduce draw calls, while keeping separate the parts a configurator must swap or animate.
- Bake high-poly detail into normal and ambient occlusion maps on a clean low-poly model.
- Check normals, remove degenerate triangles and weld vertices so compression works efficiently.
Boolean-heavy hard-surface work in particular tends to leave n-gons and thin slivers that triangulate badly; it pays to clean that topology up before it reaches the export stage.
Draw calls, instancing and level of detail
Triangle count is only half of geometric cost. Each separate mesh-material combination usually becomes a draw call, and on mobile each draw call carries CPU overhead. A scene with 40,000 triangles split into 800 objects can run worse than one with 300,000 triangles in 30 objects. Merge static objects that share materials, use instancing for repeated elements such as shelving, chairs in a room or bolts on a machine, and consider texture atlases so several parts can share one material.
For larger scenes, level of detail (LOD) switching swaps in simpler meshes as objects move away from the camera. It matters less for a single product viewer, where the object is always close, and more for environments such as a store layout or an exhibition hall, where dozens of objects are visible at different distances.
Compressing geometry with Draco and meshopt
Draco compression, available in glTF through the KHR_draco_mesh_compression extension, quantizes and entropy-codes vertex data and typically shrinks geometry dramatically compared with raw buffers. The trade-off is decode time on the client, handled by a small decoder library, and some loss of precision controlled by quantization settings. Set position quantization too aggressively and fine parts shift or seams open; the usual practice is to start from the tool defaults and raise precision only where artifacts appear. An alternative, meshopt compression through the EXT_meshopt_compression extension, decodes faster and pairs well with further network compression, at a somewhat different size profile. Tools such as gltf-transform and gltfpack can apply either and let you compare results on your own assets.
Textures, Materials and GPU Memory
Textures are usually the largest part of a web 3D download and almost always the largest part of GPU memory. The mistake to avoid is the one that appears in nearly every first draft: 4K PNG textures exported straight from a texturing tool.
Why PNG and JPEG are the wrong delivery format
PNG and JPEG are compressed for the network but not for the GPU. The browser must decode them to raw pixels before upload, so a 4096 by 4096 RGBA texture occupies 4096 x 4096 x 4 bytes, which is 64 MB of GPU memory, plus about a third more for mipmaps, before a single other texture is loaded. A typical PBR material has three or four such maps. On a phone that shares memory with the operating system and the browser, a handful of those can crash the tab outright.
GPU-compressed formats stay compressed in video memory. The difficulty is that different GPUs support different formats (BC on desktop, ETC and ASTC on mobile), which is why the web uses KTX2 containers with Basis Universal supercompression: one file that transcodes on the client into whichever format the device supports. Basis offers two modes. ETC1S produces very small files with lower quality, suited to base color and less critical maps. UASTC preserves much more quality, suited to normal maps and hero textures, at a larger file size that benefits from additional compression on the network. Our dedicated guide to texture compression for real-time 3D goes further into mode selection, quality settings and the artifacts to watch for.
Memory arithmetic worth knowing
For a 2048 by 2048 texture, uncompressed RGBA occupies about 16 MB, or roughly 21 MB with mipmaps. A block-compressed format at 8 bits per pixel brings that to about 4 MB plus mipmaps, and a 4 bits per pixel format to about 2 MB. Halving resolution quarters memory. These are simple calculations, and running them for every texture in the scene before export is the quickest way to find out whether a design will fit on a phone.
Materials that travel well
glTF 2.0 standardizes a physically based metallic-roughness material model, which is what makes a material authored in one tool look broadly consistent in a web viewer. Keep to that core model and to widely supported extensions. Pack channels where the format expects it: glTF stores occlusion, roughness and metalness in the red, green and blue channels of textures, so one packed map can replace three. Avoid relying on DCC-specific shader nodes, procedural textures and layered materials that do not survive export; bake them to textures first.
Warning: Uncompressed 4K PNG textures are the most common cause of a web scene that works on the studio workstation and crashes on a phone. Check these before anything else:
- No texture larger than 2048 unless a measured close-up genuinely needs it.
- All textures delivered as KTX2 with Basis Universal, not PNG or JPEG.
- Occlusion, roughness and metalness packed into one map.
- Total GPU memory estimated per device class before sign-off.
glTF 2.0 as the Delivery Standard
glTF 2.0, maintained by the Khronos Group, which publishes the glTF 2.0 specification, has become the standard delivery format for real-time 3D on the web for a straightforward reason: it was designed for transmission and loading rather than for authoring. Its buffers map closely to what the GPU consumes, so the loader does little conversion work; its materials follow a defined PBR model; and its extension mechanism lets compression and newer material features be added without breaking older loaders.
A glTF asset comes in two packagings. The .gltf form is JSON describing the scene, with separate binary and texture files; it is convenient to inspect and lets shared textures be cached separately. The .glb form packs everything into one binary file, which simplifies hosting and is what most product viewers use. Neither is inherently smaller; choose based on how you want to cache and update assets.
The extensions that matter for commercial work
- KHR_draco_mesh_compression and EXT_meshopt_compression for geometry size.
- KHR_texture_basisu for KTX2 textures with Basis Universal.
- KHR_materials_variants for storing several material options on one asset, which is directly useful for configurators.
- KHR_materials_transmission, clearcoat, sheen and related extensions for glass, car paint and fabric, used sparingly because each adds shading cost.
- KHR_mesh_quantization for storing vertex data in smaller types.
Export from the authoring tool is rarely the final step. A post-processing stage, run with a command-line tool in a repeatable script, should apply compression, resize textures, prune unused nodes and validate the result against the specification. Keeping that stage scripted means an artist's revision goes through the same optimization every time, rather than depending on someone remembering the right settings. Where source files arrive as FBX, OBJ, USD or STEP, our overview of 3D file formats and interchange explains what survives conversion to glTF and what needs rebuilding.
Lighting, Shadows and Image Quality in Real Time
Lighting determines whether a web scene looks like a product photograph or like a video game from a decade ago, and it is also where performance budgets get quietly consumed. Real-time lights are expensive per pixel, and real-time shadows are expensive per light. The standard approach for product and architectural scenes is to do as much lighting ahead of time as the interaction allows.
Image-based lighting does most of the work
An HDR environment map, prefiltered for different roughness levels, lights PBR materials convincingly with a single texture lookup and gives reflective surfaces something believable to reflect. For a product viewer it is usually the main light source, supplemented by at most one or two direct lights for highlights and shadow. The environment does not need to be high resolution to light well; a modest map is often enough, while a higher-resolution version is only needed if it is visible as a background.
Bake what does not move
Ambient occlusion and contact shadows, the soft darkening where objects meet the floor or where parts meet each other, are what ground an object visually. For static parts, bake them into textures or into a simple shadow plane under the product. For configurators, bake per-component occlusion so it stays correct when parts swap. Dynamic shadow maps are worth their cost only when the light or object genuinely moves relative to each other in ways the visitor controls. Studio-style setups that already work for stills can often be adapted, and our guide to lighting presets and rigs covers how to build rigs that translate between offline and real-time output.
Anti-aliasing, tone mapping and resolution
Jagged edges on thin geometry and shimmering on fine textures are the artifacts visitors notice first. Multisample anti-aliasing works well on geometric edges; post-process methods handle shading aliasing at lower cost; mipmapping and sensible texture filtering control shimmer on distant detail. Our article on anti-aliasing in real-time 3D compares the options. Two further settings have outsized effect. Tone mapping and correct color space handling, meaning sRGB for color textures and linear for data maps, prevent the washed-out or oversaturated look of many first attempts. And capping the device pixel ratio, often at 2 even on screens that report 3, avoids rendering far more pixels than the eye can distinguish on a phone, which can recover a large share of the frame budget.
Features such as screen-space reflections, depth of field and ray-traced effects are possible in browsers, particularly with WebGPU, but each one competes for the same frame time. Our piece on real-time ray tracing explains why those effects remain a desktop and high-end option rather than a default for web audiences.
- WebGL 2
- The widely supported browser graphics API, based on OpenGL ES 3.0, that most web 3D libraries target by default.
- WebGPU
- A newer browser graphics and compute API modeled on modern native APIs, offering lower overhead and compute shaders, with support still expanding.
- glTF 2.0
- The Khronos Group's transmission format for 3D scenes, with a standard PBR material model and extensions for compression and materials.
- Draco
- A geometry compression library, used in glTF through an extension, that reduces mesh size at the cost of client-side decoding.
- KTX2 / Basis Universal
- A texture container and supercompressed format that transcodes on the device into whichever GPU-compressed format it supports.
- Draw call
- A single instruction to the GPU to render a batch of geometry with one material; too many of them overload the CPU on mobile.
- Frame budget
- The time available to render one frame, about 16.7 milliseconds at 60 frames per second.
- Image-based lighting
- Lighting a scene from a prefiltered environment map rather than from many individual lights.
Loading Strategy: Never Show a Blank Canvas
Even a well-optimized scene takes time to download, decode and compile shaders. What the visitor sees during that time decides whether they stay. A blank or spinning canvas while several megabytes arrive is the loading equivalent of a locked shop door. Progressive loading means something useful is visible almost immediately and quality improves as assets arrive.
- Show a poster image first Render a still of the default configuration, sized for the layout, and display it as a normal image in the page. It loads like any other image and gives the visitor something to look at within the first second.
- Load the engine only when needed Defer the 3D library until the viewer is near the viewport or the visitor taps to interact, so the rest of the page is not slowed by code it may never use.
- Stream a low-resolution scene Load a lightweight version of the model with small textures first, swap to the poster seamlessly once it renders, and let the visitor start rotating.
- Upgrade textures in the background Replace low-resolution textures with full-quality ones as they arrive, without blocking interaction.
- Fetch options on demand Load variant geometry and materials when the visitor hovers or selects them, and cache them for reuse.
- Warm up shaders deliberately Compile the materials the visitor is likely to see next during idle time, so the first swap does not cause a visible hitch.
Progress indication should be honest and specific. A determinate progress bar, based on bytes actually received, is better than an indefinite spinner, and a short label such as "Loading 3D view" sets expectations. If the scene is optional, as in a product page where photos are already present, make the 3D view something the visitor opts into rather than something that blocks the page.
Caching and hosting
Serve 3D assets from a CDN with long cache lifetimes and versioned file names, so a returning visitor downloads nothing twice. Make sure the server sends appropriate content types and applies network compression to the file types that benefit, such as .gltf JSON and meshopt-compressed buffers, while not wasting effort re-compressing already compressed KTX2 or Draco data. Host decoder libraries for Draco and Basis yourself, or confirm that the CDN you use is reliable, since a missing decoder means a scene that never appears.
Frame Rate and Testing on Devices Visitors Actually Use
The target is 60 frames per second on the target device, and the target device is not the workstation the scene was built on. A development machine with a discrete graphics card can hide every mistake in this guide. Most visitors arrive on a mid-range phone whose GPU shares memory and a thermal budget with the rest of the system, and whose performance drops once it heats up after a minute or two of sustained rendering.
Building a test matrix
Choose a small set of real devices that represent your audience, drawn from your own analytics where possible: a mid-range Android phone from two or three years ago, a recent but not flagship iPhone, a budget laptop with integrated graphics, and one high-end desktop for comparison. Test in the browsers those visitors actually use, including in-app browsers from social platforms if your traffic comes from ads, since those sometimes behave differently from the full browser.
What to measure
- Time to first visual: how long before the poster or the first rendered frame appears.
- Time to interactive: how long before the visitor can rotate or configure.
- Sustained frame rate: measured after several minutes of interaction, not just the first few seconds, to catch thermal throttling.
- Frame time spikes: hitches during variant swaps, texture uploads or shader compilation, which feel worse than a steady lower frame rate.
- Memory: GPU and JavaScript heap use, and whether the tab survives switching between many variants.
Browser developer tools cover most of this. The performance panel shows long tasks and frame timing; memory tools show heap growth; and WebGL inspection tools such as Spector.js capture a single frame to reveal draw calls, texture sizes and shader cost. Remote debugging lets you attach desktop tools to a phone over USB, which is far more informative than guessing from the device alone.
Adapting quality at run time
Rather than building one scene for the weakest device, build quality tiers and pick one at run time. Start from a conservative tier, measure frame time over the first seconds, and step up resolution, shadow quality or post-processing if there is headroom. Rendering on demand is also valuable: a product viewer does not need to redraw at 60 frames per second while nobody is touching it, and pausing rendering when the scene is static saves battery and prevents throttling.
A practical habit follows from all of this: keep a mid-range phone on the desk of everyone who works on the scene, and make "it runs on the test phone" part of the definition of done for every asset. Problems found on the device in week two are cheap; problems found by customers after launch are not.
Configurators: Architecture for Many Combinations
Configurators are where real-time 3D on the web pays off most clearly, because they replace a combinatorial explosion of photographs with a single interactive scene. They are also where the hardest engineering problems live, since every option multiplies the ways the scene can break.
Model the product as parts and materials
Structure the asset around the product's option logic rather than around how it was modeled. Each swappable part should be a separate node with a predictable name; each finish should be a material that can be assigned to one or more parts. The KHR_materials_variants extension lets a single glTF file carry named material variants, which works well for finishes. Geometry variants, such as different arms or legs, are better handled as separate small files loaded on demand, attached to named anchor points on the base model.
Keep product data outside the 3D file
Prices, option names, compatibility rules and SKU codes belong in the product data system, not baked into the scene. The 3D view should receive a configuration, such as a set of option identifiers, and render it; it should not be the source of truth for what is valid or what it costs. This separation lets merchandisers add a fabric without a developer rebuilding the scene, and it keeps the configurator consistent with the cart and the order system.
Make configurations shareable and recoverable
Encode the current configuration in the page URL so visitors can share it, bookmark it, or return to it from an email. The same encoding lets sales teams send a prepared configuration and lets the site generate a matching still image for the cart, the order confirmation and social previews, which avoids a mismatch between what the customer designed and what they see at checkout.
Warning: Combinations nobody tested are where configurators fail in public. A part that clips through a finish, a missing texture on a rare option, or a shadow that no longer matches a swapped component will eventually be seen by a customer. Generate automated screenshots of every valid combination, or a structured sample where the total is very large, and review them before each release.
Fallbacks, Accessibility and Search Visibility
Some visitors will not be able to run the scene: older devices, browsers with hardware acceleration disabled, corporate machines with restricted graphics drivers, or a WebGL context lost because the device ran short of memory. The experience has to degrade to something useful rather than to an empty box.
- Detect capability before loading: check for WebGL 2 support and a working context before downloading heavy assets, and route unsupported devices straight to the fallback.
- Provide a static image fallback: the poster image, or a small gallery of pre-rendered angles and key configurations, so the visitor still sees the product.
- Handle context loss: listen for the browser's context-lost event, show the fallback or a clear message, and offer to reload the view rather than leaving a frozen canvas.
- Respect reduced-motion preferences: avoid auto-rotation and camera fly-throughs for visitors who have asked for reduced motion.
- Keep controls reachable: every configuration option should also be available through ordinary, keyboard-accessible page controls with text labels, not only by clicking inside the canvas.
- Describe the content in text: search engines and screen readers do not see inside a canvas, so product names, specifications and option lists belong in the HTML around it, with a meaningful text alternative for the viewer itself.
Treated this way, the 3D view becomes a progressive enhancement: the page works and ranks without it, and the scene adds understanding on devices that can run it.
Common Failure Patterns and When to Bring in Help
Most troubled web 3D projects fail in recognizable ways, and nearly all of them are decisions made early and discovered late.
- Shipping film-quality geometry to a browser. Source models from rendering or CAD work go straight to the web without retopology, producing huge files and poor frame rates.
- Uncompressed 4K PNG textures in a web scene. Large downloads, then memory exhaustion on phones.
- Testing only on a workstation with a discrete graphics card. The scene seems fine until real visitors arrive on real phones.
- A blank canvas while several megabytes download. Visitors leave before the experience appears.
- No budget owner. Every asset is individually reasonable, and the total is not.
- Product logic inside the scene. Every catalog change requires a developer and a rebuild.
Specialist help is worth bringing in at three points in particular: when a scene will not hold frame rate on mobile despite obvious fixes, when download budgets keep being exceeded because the asset pipeline has no automated optimization, and when a configurator must work reliably across a wide range of devices and a large option catalog. In each case the fix usually involves the pipeline and the architecture, not just the individual asset, which is where experience across many projects shortens the path. Our 3D visualization and rendering service covers asset preparation and optimization for real-time delivery, and the broader 3D design and development services page outlines how we take projects from source models to a deployed web experience.
Questions to ask any team building your scene
- What is the download budget for first interaction, and how is it split by asset type?
- Which devices are in the test matrix, and what frame rate must each hold after several minutes?
- Is texture and geometry compression applied by a repeatable, scripted pipeline?
- What does a visitor see in the first second, and what do unsupported devices see?
- Where does product and pricing data live, and who can update it without a developer?
Verdict Real-time 3D on the web succeeds when it is planned as a delivery problem first and an art problem second. Set a download and memory budget before modeling, build on glTF 2.0 with Draco and KTX2 compression, light mostly with baked detail and image-based lighting, show a poster within the first second, and treat a mid-range phone, not a workstation, as the device that decides whether the work is finished.
Where this comes from
- Khronos Group — glTF 2.0 specification
- Three.js — Documentation and examples
- web.dev — Performance budgets
The figures and practices above come from the sources listed.
Working on something like this?
We take on 3D Design & Development work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.
Where to go next
Spotted something wrong? Report an error on this page. We correct on the page and say what changed.





