Skip to main content
6 min readAedifex Team

WebGPU in Aedifex — Rendering Capabilities and Performance Limits

What WebGPU provides, how Aedifex initializes its renderer and materials, and why source inspection cannot establish a frame rate or universal browser support.

WebGPU is a browser API for graphics and general-purpose GPU computation. It gives applications explicit resources, pipelines and command buffers, plus compute shaders. These capabilities can help a renderer, but choosing WebGPU does not establish that an application is fast. Scene complexity, CPU work, texture memory, GPU drivers, resolution and effects all matter.

This explanation is based on a review of Aedifex's renderer source on 16 October 2026. It is not a device benchmark, a fresh build verification or a claim about every deployed version. The open-source editor repository contains the rendering core; the source locations below make the statements checkable.

What the API provides—and what it does not

Capability What it means What it does not establish
Compute shaders A programmable GPU compute path alongside graphics That Aedifex runs all layout checks or geometry generation on the GPU
Command buffers and explicit resource binding An application can prepare and submit GPU work explicitly Automatic multithreading of JavaScript, or lower cost for every scene
WGSL WebGPU's shading language with specified validation rules That every application shader is handwritten WGSL, or that driver problems cannot occur

WebGL can also render physically based materials, shadows and instanced geometry. Those techniques are not exclusive to WebGPU. An application can use workers where supported and deliberately implemented; command-buffer support alone is not evidence of multithreaded command recording in Aedifex.

For platform definitions, consult the WebGPU specification, WGSL specification and MDN WebGPU API reference. These are reference links, not a claim that a live browser support table was rechecked for this article. Compatibility changes with browser, operating system, GPU, driver and security policy; WebGPU requires a secure context.

The renderer selection in Aedifex

The viewer creates Three.js's WebGPURenderer through initializeGpuRenderer. The capability helper attempts to obtain a WebGPU adapter and device, and includes a WebGL2 path when WebGPU is unavailable or initialization fails. The viewer also has an unsupported-GPU message if neither renderer can initialize.

Source locations: packages/viewer/src/components/viewer/index.tsx, packages/viewer/src/lib/renderer-capability.ts, and packages/viewer/src/components/viewer/unsupported-gpu-fallback.tsx.

A fallback path is an implementation, not a guarantee of identical effects or successful operation on every device. Some post-processing takes a separate path when WebGPU is unavailable. A working canvas, a moving light or a renderer class name alone does not establish which backend is active; the backend must be inspected when collecting performance evidence.

Materials are not all the same asset package

The material code uses Three.js materials, including node materials, with properties such as color, roughness and metalness and support for texture maps when present. It also has different shading paths. This does not mean every catalog item supplies color, normal, roughness and metalness images as a complete set.

Source locations: packages/viewer/src/lib/materials.ts and packages/viewer/src/components/viewer/post-processing.tsx. Three.js and its node system mediate shader generation; describing this as “we handwrite all PBR shaders in WGSL” would misrepresent the implementation.

A material preview also depends on lighting, tone mapping, the asset's maps and display conditions. It is useful for comparing a scene, but it is not a color-accurate specification of a purchased finish. Likewise, neither the shader model nor a shared BRDF establishes equivalence to an offline renderer.

Draw calls and lighting require measurement

Repeated geometry can sometimes be instanced or batched. Actual draw counts depend on submeshes, material groups, shadows and additional passes. Four copies of a chair do not automatically become one total draw call. This article does not claim a particular batching rate for Aedifex's catalog.

The viewer contains lighting and post-processing code, but their existence does not prove a fixed frame rate, a particular lighting algorithm for every light, or physically verified daylight performance. A change that looks immediate on one small scene can stall on a larger one. There is no “60 fps versus 60 minutes per frame” result in this article because no controlled comparison was performed.

A useful test you can actually repeat

Open the demo on the device you intend to use. Record the browser and OS versions, GPU where available, viewport resolution and device-pixel ratio. Also record whether you started with a fresh guest scene or a saved local draft: they may contain different objects.

  1. Record the active backend, scene size, material settings and enabled effects.
  2. Wait for loading and shader compilation to settle before sampling steady interaction; record initial loading separately.
  3. Repeat the same camera motion and one material or placement change. Measure a time series of frame times and note stalls, not just a single FPS number.
  4. Keep resolution, scene, camera and effects fixed for a comparison. Report visual differences when comparing fallback and WebGPU paths.
  5. Save the measurement method and failures alongside the result. A successful build verifies compilation, not performance on a browser or compatibility across devices.

This article provides the protocol, not completed measurements. If the scene fails to initialize, record the failure rather than treating a blank canvas as a performance score. For a practical room exercise, see the dimensioned 4 × 5 m layout; its coordinate checks do not depend on proving WebGPU is faster.

Compare successful sessions and failures

For two sessions, use the same small scene and repeat the same camera movement at the same viewport and effect settings. Record browser, OS, GPU if available, loading time and the actually observed backend. If the backend cannot be established, label it unknown; if initialization fails, preserve the error and stop that timing comparison.

When both sessions work, collect a frame-time sequence after loading settles and note visible differences, stalls and the measurement method. Different fallback effects or device settings prevent a simple like-for-like conclusion. This protocol does not claim a measured speedup or universal compatibility.

WebGPU in Aedifex — Rendering Capabilities and Performance Limits

Use a small saved scene to plan a WebGPU investigation, not to announce a benchmark. The current capability helper attempts a WebGPU device and has a WebGL path, but a source branch does not prove the backend used in a reader’s session.

WebGPU in Aedifex — Rendering Capabilities and Performance Limits — Geometry and assumptions

Open the full-size diagram

The workflow identifies the backend, controls the workload and records failures. Its evidence boxes require observed backend and repeatable frame-time records; source inspection alone cannot fill them.

Numbers and marks identify the items described here; use the stated dimensions rather than measuring the screen.

1–3 refer to the evidence steps below. A highlighted step is selected, not automatically verified.

Step / option What to check
1. Identify backend Inspect which backend actually initialized and record browser, OS and viewport. Mark unsupported initialization separately from a successful WebGL fallback.
2. Control the workload Keep scene, resolution and effects unchanged while repeating one camera motion. Record loading separately before collecting steady frame times.
3. Report failure honestly Preserve initialization errors and stalls beside any successful samples. Report the test environment instead of generalizing one device to browser-wide performance.

Changed conditions and evidence

WebGPU in Aedifex — Rendering Capabilities and Performance Limits — Changed conditions and evidence

Open the full-size diagram

If rendering fails, record an initialization failure rather than a zero-performance score. If fallback succeeds, compare visual settings before interpreting timings because the available post-processing may differ.

The question marks are evidence still to obtain, not a completed check.

Record browser, OS, GPU when available, viewport and observed backend with the same repeatable motion. Preserve a frame-time series and failures if measurements are actually performed; this article supplies the protocol, not new measurements.

Change the conditions in the interactive exercise

TRY THE EXAMPLE

WebGPU in Aedifex — Rendering Capabilities and Performance Limits

Use a small saved scene to plan a WebGPU investigation, not to announce a benchmark. The current capability helper attempts a WebGPU device and has a WebGL path, but a source branch does not prove the backend used in a reader’s session.

Inspect which backend actually initialized and record browser, OS and viewport. Mark unsupported initialization separately from a successful WebGL fallback.

Steps with self-reported evidence: 0 / 3. These checks are your own record, not automatic verification. They reset when the page reloads.
WebGPU in Aedifex — Rendering Capabilities and Performance LimitsNumbers refer to the inputs or steps below. The diagram is simplified; read the calculated dimensions rather than measuring the screen.123
Numbers refer to the inputs or steps below. The diagram is simplified; read the calculated dimensions rather than measuring the screen. 1–3 refer to the evidence steps below. A highlighted step is selected, not automatically verified.

Record browser, OS, GPU when available, viewport and observed backend with the same repeatable motion. Preserve a frame-time series and failures if measurements are actually performed; this article supplies the protocol, not new measurements.

Teaching assumptions, not a surveyed home or a construction check. Results describe this simplified geometry or budget only. Changes stay on this page and reset on reload.