Materials & Lighting

Texture Surface Review

What this shows

A textured prop rotates under a stable camera.

This example needs a Canvas2D-capable browser.

Loading scene…

Loading scene…

Key API excerpt

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

const texture = new EASEL.DataTexture(checkerPixels, 32, 32);
const cube = new EASEL.Mesh(new EASEL.BoxGeometry(2.5, 2.5, 2.5),
  new EASEL.BasicMaterial({ map: texture }));