takahirox / three-gltf-extensions

Unofficial Three.js glTF loader/exporter plugins
MIT License
123 stars 20 forks source link

Store other attributes to mesh.geometry in EXT_mesh_gpu_instancing loader plugin #55

Closed takahirox closed 2 years ago

takahirox commented 2 years ago

Store custom instance attribute into mesh.geometry so far in the EXT_mesh_gpu_instancing loader plugin.

If mesh is shared with other nodes as non-instanced mesh, the custom attributes are unnecessary for them but shouldn't hurt.