GLTFExport error : unsupported 2d coordinates for the geometry position
ogrergo opened this issue · 1 comments
ogrergo commented
The gltf validator raise a MESH_PRIMITIVE_ATTRIBUTES_ACCESSOR_INVALID_FORMAT for each text primitve.
I was able to export it after adding a 0 z-coordinate for each position.
Maybe add an option flag to make the geometry buffer serializable ? (use Vec3 instead of Vec2 ?)
donmccurdy commented
Are you using THREE.GLTFExporter
here? Note that while the geometry could be made serializable, the shader cannot be exported to glTF.