Use dynamictexture to replace the map of spritemanager, and adjust uvscale and offset are invalid.
PG address is as follows:
That’s because the SpriteManager will set its own offsets based on the cell index. If you need to use u and v offsets and scales in the texture, then you can’t use the SpriteManager: Dynamic Texture Example | Babylon.js Playground (babylonjs.com)
So how to always face the camera like Sprite and have all the functions of Sprite
You can use billboardMode to always have the mesh facing the camera: Dynamic Texture Example | Babylon.js Playground (babylonjs.com)
But the other functions of the SpriteManager will have to be implemented by you
So does this grid have the same performance as Sprite? As far as I know, Babylon has made performance optimization in sprite
Sprites uses textures under the hood so both should have great performance