Reference for GLTF Exporter/Loader Unsupported Threejs Attributes

I am using GLTF exporter/loader and I noticed that a material’s polygonoffset and polygonoffsetfactor are lost. Does anyone know of a post/reference to see what attributes are unsupported or general caution when using GLTF? Thanks.

Does anyone know of a post/reference to see what attributes are unsupported or general caution when using GLTF?

The exhaustive answer would be the glTF specification, but it might be easier just to scan the GLTFExporter code here. polygonoffset and polygonoffsetfactor are not supported, no.

Many three.js features don’t exist any standard format, so if you need to keep everything from a three.js scene you may need to use toJSON() and ObjectLoader.

You can also write custom data to object.userData or material.userData before exporting to glTF, and that data will remain available after you load it back, so you could use that to re-apply specific changes.

This covers a lot, too: https://github.com/mrdoob/three.js/issues/11951