# Creating High-Resolution 2D Text on a 3D Plane

**URL:** <https://forum.babylonjs.com/t/creating-high-resolution-2d-text-on-a-3d-plane/45958>\
**Category:** Questions\
**Tags:** gui, text\
**Created:** [November 27, 2023, 8:54am UTC](https://forum.babylonjs.com/t/creating-high-resolution-2d-text-on-a-3d-plane/45958 "2023-11-27T08:54:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ertugrulcetin](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ertugrulcetin/32/33011_2.png) [@ertugrulcetin](https://forum.babylonjs.com/u/ertugrulcetin)\
**Post date:** [November 27, 2023, 8:54am UTC](https://forum.babylonjs.com/t/creating-high-resolution-2d-text-on-a-3d-plane/45958/1 "2023-11-27T08:54:07Z")

</div>

I am looking to implement high-resolution 2D text within a 3D plane, aiming to achieve the clarity and detail as seen in the attached image.

My previous attempts resulted in text that wasn’t sharp and lacked the desired resolution. I would appreciate guidance on techniques or settings that can enhance text clarity and resolution, and how to create the effect of a 2D text appearing on a 3D object, as shown.

 ![Screenshot 2023-11-27 at 03.28.55](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/0/c/0cb5c73fd4003e43dab818ebe3837c3b5caef6f4.jpeg)

---

<div class="post-metadata">

**Author:** ![SamuelSousa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/samuelsousa/32/33388_2.png) [@SamuelSousa](https://forum.babylonjs.com/u/SamuelSousa)\
**Post date:** [November 27, 2023, 9:15am UTC](https://forum.babylonjs.com/t/creating-high-resolution-2d-text-on-a-3d-plane/45958/2 "2023-11-27T09:15:19Z")

</div>

I would suggest checking Advance Dynamic Textures:

> **[Dynamic Textures | Babylon.js Documentation](https://doc.babylonjs.com/features/featuresDeepDive/materials/using/dynamicTexture)**
>
> Learn all about dynamic textures in Babylon.js.

Something along these lines:

> Create a “Plane”,  
> let planeTexture = BABYLON.AdvancedDynamicTexture.CreateForMesh(“Plane”);  
> let planeText = new BABYLON.TextBlock();  
> planeText.text = “My Text”;  
> planeText.color = ‘white’;  
> planeText.fontSize = fontsize;  
> planeText.textHorizontalAlignment = 0;  
> planeText.textVerticalAlignment = 2;  
> planeTexture.addControl(planeText);

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [November 27, 2023, 12:40pm UTC](https://forum.babylonjs.com/t/creating-high-resolution-2d-text-on-a-3d-plane/45958/3 "2023-11-27T12:40:56Z")

</div>

You can use the AdvancedDynamicTexture with a higher resolution than the screen’s resolution to make the text sharper. And you can use the ADT in texture mode to place it on a plane in the 3D scene: [GUI For texture | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#SC1CM6)

---

<div class="post-metadata">

**Author:** ![ertugrulcetin](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ertugrulcetin/32/33011_2.png) [@ertugrulcetin](https://forum.babylonjs.com/u/ertugrulcetin)\
**Post date:** [November 27, 2023, 12:53pm UTC](https://forum.babylonjs.com/t/creating-high-resolution-2d-text-on-a-3d-plane/45958/4 "2023-11-27T12:53:44Z")

</div>

Thank you guys!
