WEBGPU STUDY / SHADER INTEROPERABILITY

One texture, two shader languages.

The same varying, texture, sampler, and uniform contract drives handwritten WGSL above and a TSL node graph below. Their CRT-style masks make the shared inputs visible.

Preparing study—

Creating a shared texture and two shader graphs…

`?forceWebGL=1` intentionally stops at the WebGPU-only capability boundary; this example does not claim a WebGL shader-parity fallback.

THREE.JS FOUNDATIONS / TSL CAN CALL NATIVE WGSL