This problem is in Babylon 4.1.0.
Let’s take any example with
The problem is in the
Image.contains method. It calls every time when a mouse moves, and every time this method creates a copy of the image data:
This causes low fps when a mouse hovers over such images (GC/etc). I would suggest using a cache, something like the following code: