matt77hias / MAGE-v0

🧙 MAGE v0
https://matt77hias.github.io/MAGE-v0-Doc
GNU General Public License v3.0
266 stars 20 forks source link

glTF2 standard order #43

Closed matt77hias closed 6 years ago

matt77hias commented 6 years ago

The RMA texture uses the glTF2 standard order: The metalness is in the B channel, roughness in the G channel, and ambient occlusion in the R channel. If there's no ambient occlusion, then the R channel should be set to all 1.

AO should be added. R and M should be shifted and re-compressed.

Maybe Material should be called ARM?

matt77hias commented 6 years ago

This breaks BC5 compression. Probably better to put AO separately and use BC4.

matt77hias commented 6 years ago

Only single and double channel BC should be used for unrelated material parameters.