Some Threejs webgpu examples run fine on firefox, but others dont?

No. There are some examples that use WebGPU specific API but most of them should run with a WebGL 2 backend as well.

Yes, WebGPURenderer automatically falls back to WebGL 2 if WebGPU isn’t available.

No, TSL is an integral part of the node material and that is compatible with both WebGPU and WebGL 2. TSL can be compiled to WGSL and GLSL.

We try to improve to compatibility of both backends as good as possible. If examples are not supposed to run with WebGL 2, they should throw a controlled error e.g. No WebGPU support.

1 Like