Multiview / WebGPU

One of the great features of WebGPU is being able to render multiple canvases from the same device.

This will make certain use cases, like multi-pane 3D editors, much easier to develop.

Currently the Renderer and WebGPU backend support one domElement and clearly changing this to support multiple is fairly fundamental. Is anyone already working on this / thinking about how this might be tackled?

I’m aware of the viewport/scissoring examples and drei Views for creating multiple viewports within one big canvas, but I’m wondering if Three will natively support multiple canvases with the WebGPU renderer.

Probably what you’re looking for is here:

Awesome! Seems like an elegant solution. I was thinking Renderer or WebGPUBackend would need a lot of changes to allow for multiple domElements but this bypasses all that. Thanks for the link