donmccurdy / glTF-Transform

glTF 2.0 SDK for JavaScript and TypeScript, on Web and Node.js.
https://gltf-transform.dev
MIT License
1.42k stars 150 forks source link

Prune normals from unlit materials and point clouds #1199

Closed donmccurdy closed 10 months ago

donmccurdy commented 11 months ago

Unlit materials don't respond to light and are unlikely to need normal vectors. Point clouds are also unlikely to use them. When the keepAttributes flag is not set, we can remove these normals.

Tasks: