-
Notifications
You must be signed in to change notification settings - Fork 584
Closed
Description
Originally reported at mrdoob/three.js#22343, but it appears that the renderers are correct and both gltfpack and gltf-transform have a similar issue in quantizing models using the KHR_materials_volume extension. When compressing or quantizing this example:
Left: Original. Right: gltf-transform. Below: gltfpack.
https://github.com/mrdoob/three.js/files/6996178/Archive.zip
...the boxes should all be the same color, before and after compression. Instead they get lighter (for non-normalized vertex attributes) or darker (for normalized vertex attributes) because the node's scale affects the material.thicknessFactor property. I believe it's necessary to apply the inverse of the node's scale to the thickness, to compensate.

