node package manager


Voxel ambient occlusion mesher


A voxel mesher for ndarrays that handles ambient occlusion and transparency.

npm install ao-mesher

Constructs a mesh for array.

  • array is a 3D ndarray of voxels

Returns A uint8array encoding the mesh, or else null if there were no facets. This is in the same format that ao-shader expects.


(c) 2013 Mikola Lysenko. MIT License