Assets

Data Texture Review

What this shows

Check packed RGBA data on a neutral textured surface.

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(rgbaBytes, 4, 2);
texture.buildBrightnessLevels();
const material = new EASEL.BasicMaterial({ map: texture });