Did a little test to see if I could keep my instances, while still being able to choose/change different animations, and thanks to the new instancedBuffer it’s a success so far.
A 254x248 texture at about 1MB. Rendered out using the Game Development Toolkit in Houdini.
I’m using tinyexr.js, so there are some memory issues, and you might need to hard-refresh (ctrl-f5) if it fails.
And the texture in action: https://playground.babylonjs.com/#Q9Q8UA#20
And the shader I use: OSMTrafficSim/Character.shader at master · maajor/OSMTrafficSim · GitHub
EDIT: I made a mistake when sampling the diffuse texture: https://playground.babylonjs.com/#Q9Q8UA#21