# Multiple rows & fonts on the same dynamicTexture

**URL:** <https://forum.babylonjs.com/t/multiple-rows-fonts-on-the-same-dynamictexture/17899>\
**Category:** Questions\
**Created:** [January 27, 2021, 6:07am UTC](https://forum.babylonjs.com/t/multiple-rows-fonts-on-the-same-dynamictexture/17899 "2021-01-27T06:07:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarianG](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mariang/32/138_2.png) [@MarianG](https://forum.babylonjs.com/u/MarianG)\
**Post date:** [January 27, 2021, 6:07am UTC](https://forum.babylonjs.com/t/multiple-rows-fonts-on-the-same-dynamictexture/17899/1 "2021-01-27T06:07:28Z")

</div>

Hey boys & girls,

I have 3 texts which I want to put on the same dynamicTexture.  
Now I create a new texture foreach but for performance reasons, I want somehow to draw all on the same texture.

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/0/0c16780a9baf3fbd9a74a114c3d31b4a5b76a594.png)

Any idea is welcome! Cheers  
[https://playground.babylonjs.com/#ZNIIQ4#1](https://playground.babylonjs.com/#ZNIIQ4#1)

---

<div class="post-metadata">

**Author:** ![msDestiny14](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/msdestiny14/32/9572_2.png) [@msDestiny14](https://forum.babylonjs.com/u/msDestiny14)\
**Post date:** [January 27, 2021, 6:19am UTC](https://forum.babylonjs.com/t/multiple-rows-fonts-on-the-same-dynamictexture/17899/2 "2021-01-27T06:19:44Z")

</div>

Hi! I would recommend using Babylon GUI to create an AdvancedDynamicTexture. On that texture you can create 3 textBlock objects each with its own font! 🙂

Here is the documentation for that: [The Babylon GUI | Babylon.js Documentation](https://doc.babylonjs.com/divingDeeper/gui/gui)

---

<div class="post-metadata">

**Author:** ![JohnK](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/johnk/32/26764_2.png) [@JohnK](https://forum.babylonjs.com/u/JohnK)\
**Post date:** [January 27, 2021, 9:15am UTC](https://forum.babylonjs.com/t/multiple-rows-fonts-on-the-same-dynamictexture/17899/3 "2021-01-27T09:15:27Z")

</div>

This PG adds all the different label texts on one dynamicTexture [Babylon.js Playground](https://playground.babylonjs.com/#A9K31I). Perhaps you can adapt it.

---

<div class="post-metadata">

**Author:** ![MarianG](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mariang/32/138_2.png) [@MarianG](https://forum.babylonjs.com/u/MarianG)\
**Post date:** [January 27, 2021, 1:20pm UTC](https://forum.babylonjs.com/t/multiple-rows-fonts-on-the-same-dynamictexture/17899/4 "2021-01-27T13:20:46Z")

</div>

Thank you. I’ll try both 😉
