THREE.JS / FOUNDATIONS — WEBGPU RENDER TARGETS
Resolve the renderbuffer. Read the image.
One instanced scene renders into a multisampled target; the resolved color texture becomes the fullscreen preview.
Initializing multisampled renderbuffers
—
Creating the instanced source scene, target, and resolved preview.
Study issue
- backend
- —
- target
- —
- samples
- —
- scene
- —
- preview
- —
- sample avg/p95
- —
Contract:
RenderTarget.samples controls the 4/1 sample count; the target’s resolved texture is displayed by a QuadMesh. This route also supports ?backend=webgl as an explicit compatibility reference.Pinned source: official multisampled renderbuffers example. Deterministic positions replace the source’s random field; Inspector styling, exact page/pixels, device matrices, and whole-example fidelity remain unverified.