Morph UV2 and import the morph target from glTF

Hi!

I have a use case where I need to load morph targets defined as TEXCOORD_1 in glTF to Babylon. I understand that Babylon currently doesn’t support uv2 morphing, and doesn’t load TEXCOORD_0 or TEXCOORD_1 morph targets in glTF.

I have a working implementation in Add UV2 morph support and load UV and UV2 morph targets from glTF · urusgraphics/Babylon.js@6270d18 · GitHub and am wondering if this can be potentially merged to upstream?

3 Likes

For sure! please do a PR!

2 Likes

Opened Add UV2 morph support and load UV and UV2 morph targets from glTF by chubei-urus · Pull Request #15602 · BabylonJS/Babylon.js · GitHub :laughing:

4 Likes

Hi @chubei-urus!

May I ask how you build your glTF assets with UV morphs? Unfortunately Blender shape keys don’t support them so far. We build them directly in babylon at the moment. Thinking about a Blender feature request.

Thanks,

David

We built the whole glTF with Rust code using GitHub - urusgraphics/gltf: A crate for loading glTF 2.0