Materials & Lighting

Texture Atlas Review

What this shows

Nearest-neighbor atlas regions cover a textured surface.

This example needs a Canvas2D-capable browser.

Loading scene…

Loading scene…

Key API excerpt

import * as EASEL from "@xsyetopz/easel";

uv.setXY(vertex, random(), random());
uv.needsUpdate = true;
const material = new EASEL.BasicMaterial({ map: new EASEL.DataTexture(gridPixels, 32, 32) });