Instance Animation via RawTexture3D

Dear babylon.js friends,

I am trying to orchestrate per instance animations using a ShaderMaterial and RawTexture3D. The vertex animations and targeted vertices are not always as I would expect.

For example, in the following PG, I expect the larger instance to have its top vertex animated down and back up by 3 units, yet it doesn’t even animate. I expect the smaller instance to have its top vertex move up 1.5 units then back down, which it does. I do not expect any of the bottom vertices to animate with the given settings, yet they do.

Any insight into why my perceptions are incorrect would be greatly appreciated.

1 Like

Looked into your project and noticed that you were normalizing the pickPoint against its own length rather the lengths of its components.

Cheers.

4 Likes

Thank you so much @ranjian0 !

Thanks

1 Like