I’m using BabylonJS to create an application targeting mobile devices. In my case, that’s iPad and Android Tablets. When using
linkWithMesh on a single
TextBlock, the performance will drop significantly.
To test it, you can use an official BabylonJS demo, like the GUI Demo: https://www.babylonjs-playground.com/#3VMTI9#126
In line 88, 126 and 137
linkWithMesh is used. In the link above they already should be commented. If you enable one of them (I suggest using the one in line 126 oder 137), the FPS will drop significantly. In my case from 50-55 FPS to 40 FPS. I’ve recorded a little video showing the problem: YouTube
Is there anything I can do to not have that drop? The application I’m creating is in need of having TextBlocks linked to meshes.