prefrontalcortex / UnityGLTF

Runtime GLTF Loader for Unity3D
MIT License
163 stars 41 forks source link

Texture export with animation is not correct #140

Open marwie opened 8 months ago

marwie commented 8 months ago

here we have 3 materials in Unity that use the same texture. One of the materials is animated

https://github.com/prefrontalcortex/UnityGLTF/assets/5083203/8c374759-c501-47de-9f91-f84979afd2c7

in the output the animation is not considered and the textures that have the same texture transform receive the animation Expected: only the first object is animated

https://github.com/prefrontalcortex/UnityGLTF/assets/5083203/f1ccdc6b-972d-4801-80cd-f770af758405

The scene used for testing was AnimatedProperties from the Needle Engine samples