three.jsTexture Gather
This example demonstrates texture gather
Left canvas is using WebGPU Backend, right canvas is WebGL Backend.
The top half gathers color values and the bottom half gathers depth comparison.