microsoft / glTF-Toolkit

A collection of tools for modifying and optimizing glTF assets
MIT License
295 stars 41 forks source link

SavePng was always using a 3 channel output format. for NRM texture p… #22

Closed mtungekar closed 6 years ago

mtungekar commented 6 years ago

…acking the required number of channels is 4. (2 Normal, 1 Roughness, 1 Metallic). Save added an additinoal parameter targetFormat (defaults to BGR) to override the target format when packing NRM.

mtungekar commented 6 years ago

How does the merge work ? Do I have to join another group?

robertos commented 6 years ago

Merged. Thanks @mtungekar!