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.
Based on the three.js example
Modules bundled into the page, so this is one HTML file with no external files.
webgpu_texturegather.html · MIT License · Copyright © 2010-2026 three.js authors · github.com/mrdoob/three.jsModules bundled into the page, so this is one HTML file with no external files.