# Draw textblock with GLSL?

**URL:** <https://forum.babylonjs.com/t/draw-textblock-with-glsl/6268>\
**Category:** Questions\
**Created:** [October 10, 2019, 11:37pm UTC](https://forum.babylonjs.com/t/draw-textblock-with-glsl/6268 "2019-10-10T23:37:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zyh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zyh/32/4986_2.png) [@zyh](https://forum.babylonjs.com/u/zyh)\
**Post date:** [October 10, 2019, 11:37pm UTC](https://forum.babylonjs.com/t/draw-textblock-with-glsl/6268/1 "2019-10-10T23:37:17Z")

</div>

Hello, Thank you for helping.  
Currently, I’m using GUI.TextBlock from @babylonjs/gui.  
The textblock need to be constantly updated and there are many many textblock need to be displayed. I realize it costs too much performance.  
Originally it’s +30fps, with textblock it’s 20fps.  
is there any way to improve the textblock performance like using Vertex and Fragment Shader file for materials?

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 11, 2019, 2:53am UTC](https://forum.babylonjs.com/t/draw-textblock-with-glsl/6268/2 "2019-10-11T02:53:25Z")

</div>

Hey, unfortunately no if you need to update them frequently. We are discussing with @TheLeftover to introduce GPU font rendering in Babylon.js but so far the GUI is the fastest way to do it

I would recommend to either reduce the resolution of your GUI texture or to try to update less often (sometimes every 500ms is far enough)

---

<div class="post-metadata">

**Author:** ![TheLeftover](https://avatars.discourse-cdn.com/v4/letter/t/ebca7d/32.png) [@TheLeftover](https://forum.babylonjs.com/u/TheLeftover)\
**Post date:** [October 11, 2019, 3:23am UTC](https://forum.babylonjs.com/t/draw-textblock-with-glsl/6268/3 "2019-10-11T03:23:00Z")

</div>

Hello zyh, I guess you could say shader text is in the planning stage. Question: Would you be willing to post a screen shot showing how you use the text now? This will help us as we move forward.

Thanks,
