Materials & Lighting

Normal Inspection

What this shows

Wireframe and edge overlays show mesh topology.

This example needs a Canvas2D-capable browser.

Loading scene…

Loading scene…

Key API excerpt

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

geometry.computeVertexNormals();
const wireframe = new EASEL.LineSegments(
  new EASEL.WireframeGeometry(geometry),
  new EASEL.LineMaterial({ color: 0xe9f0ff }),
);

scene.add(wireframe, new EASEL.BoxHelper(mesh));