GALLERY CONTRACT / WEBGL MATERIALS
Transform the sampler, not the mesh.
A native WebGL2 study of texture UV transforms: repeat and offset tile a source, rotation turns around a center, and the automatic and explicit matrix paths remain observable.
Preparing study—
Creating the texture transform graph…
- matrix
- —
- transform
- —
- wrap
- —
- target
- —
- frame ms
- —
- sample avg/p95
- —
- owned
- —
Texture owns the UV matrix and sampler wrapping; mesh geometry remains unchanged. Manual mode writes the same transform with `Texture.matrix.setUvTransform`.
Study failed.The lesson could not initialize.
This route preserves the source-backed texture transform contract with a local UV-grid CanvasTexture. The official UV-grid image, exact page/pixel fidelity, Stats/gui presentation, device/compiler coverage, and whole-example fidelity remain unverified.
THREE.JS FOUNDATIONS / TEXTURE ROTATION