Limits to request when creating the device (merge into requestDevice({ requiredLimits }), or
three's new WebGPURenderer({ requiredLimits })), each capped at what adapter supports, so the
request never fails:
six storage textures per stage, so mip chains run six levels per dispatch (default 4 still
works, with more dispatches);
up to 64 color-attachment bytes per sample (WebGPU's default is 32), so a G-buffer can add the
lit image, three's exact specular weights (46 B, D603) and the clear coat target (50 B, D3541). On an adapter that can't, the
G-buffer's 'auto' targets stay off and the composite falls back to its estimate (D4600);
up to 32 sampled textures per stage (WebGPU's default is 16), so probe sets of several sizes
(one atlas binding per size, D4700) leave room for the material's own maps and the passes'
G-buffer inputs (D4900). At the default 16 a four-size set still fits three's composite; the
core passes check their count at build and say what to request;
up to 10 storage buffers per stage (default 8), so the @pmndrs/raytracer trace provider (5) fits next to probe
fallbacks and probe hit shading (P1.5, D5200).
Limits to request when creating the device (merge into
requestDevice({ requiredLimits }), or three'snew WebGPURenderer({ requiredLimits })), each capped at whatadaptersupports, so the request never fails:'auto'targets stay off and the composite falls back to its estimate (D4600);