decimator
v1.0.0
Published
PlayCanvas Mesh Decimator
Downloads
4
Readme
Introduction
PlayCanvas Decimator that works on Mesh Instances either in the Editor or in the Engine.
Installation
npm install --save playcanvas-decimator
Usage
import decimate from 'playcanvas-decimator';
let mesh = decimate(numberOfFaces, mesh.meshInstances[0])
Face removal
Faces are removed based on curvature and the UV offset.