Hello! I’ve tried making chat for my game with usage of Babylon GUI. However, when it is active, rendering starts to lag (and texImage2D takes 27% of time from way less without it). It uses modified version of TextBlock, so I can have multiple colors/fonts in it.
I tried to recreate scene with playground, but it didn’t work, so here is code.
Code of chat (MIT License):
The getUI function returns fullscreen AdvancedDynamicTexture.