# Dynamic Materials with 3D Text

**URL:** <https://forums.unrealengine.com/t/dynamic-materials-with-3d-text/1425291>\
**Category:** International\
**Tags:** unreal-engine, 3d-text, question, Blueprint\
**Created:** [November 27, 2023, 10:08am UTC](https://forums.unrealengine.com/t/dynamic-materials-with-3d-text/1425291 "2023-11-27T10:08:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![karlvanlint11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@karlvanlint11](https://forums.unrealengine.com/u/karlvanlint11)\
**Post date:** [November 27, 2023, 10:08am UTC](https://forums.unrealengine.com/t/dynamic-materials-with-3d-text/1425291/1 "2023-11-27T10:08:10Z")

</div>

Good morning

Is there a way of creating a dynamic material for a Text3D item?

I want to change a parameter (Colour) on the material of my 3D Text, but haven’t figured out a way to do so in the Blueprint. I need to use a ‘Custom Event’ to start this, where i send the colour via vector.

I have got it working with a static mesh, but not 3D Text.

Thanks!

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 27, 2023, 10:36am UTC](https://forums.unrealengine.com/t/dynamic-materials-with-3d-text/1425291/2 "2023-11-27T10:36:09Z")

</div>

Seems to work fine out of the box:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/a/7ca6a5df13c3f91fe83e995db20fffb7809f1c0f.png)

What are you doing differently?

---

<div class="post-metadata">

**Author:** ![karlvanlint11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@karlvanlint11](https://forums.unrealengine.com/u/karlvanlint11)\
**Post date:** [November 27, 2023, 12:26pm UTC](https://forums.unrealengine.com/t/dynamic-materials-with-3d-text/1425291/3 "2023-11-27T12:26:05Z")

</div>

Hi!

Thank you for the reply. I’ve included a screenshot of how I’ve done so far.

I haven’t been able to replicate the BP how you’ve laid it out… I’m also not sure if that would be suitable, considering how the way I am getting the variable in.

Would you be so good to outline what I would need to do to finish this BP off, please?

Thanks!

 ![Capture](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/2/e02126a4b83c5b39207e0d61c5c5e6f985a87775.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 27, 2023, 1:07pm UTC](https://forums.unrealengine.com/t/dynamic-materials-with-3d-text/1425291/4 "2023-11-27T13:07:21Z")

</div>

Perfectly suitable!

- create the **D** ynamic **M** aterial **I** nstance on `Begin Play`
- reference it as shown above
- have the custom event pipe the data in using said reference

The whole thing, in case there was any doubt:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/1/b71370d3114c90dd80597e67fb8c040562841b4e.png)

Do note the `Text3d` component has more than one material. You can apply the same DMI everywhere ofc.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/4/604bc32ff6e2ff6018634bf0a3367d525122ebee.jpeg)

* * *

The same setup would work with a `Static Mesh Component`, ofc.

---

<div class="post-metadata">

**Author:** ![karlvanlint11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@karlvanlint11](https://forums.unrealengine.com/u/karlvanlint11)\
**Post date:** [December 1, 2023, 11:29am UTC](https://forums.unrealengine.com/t/dynamic-materials-with-3d-text/1425291/5 "2023-12-01T11:29:55Z")

</div>

Hi

Thank you so much for the detailed response.

I feel like a bit of an idiot but I am even struggling to replicate your BP. A few questions:

1. How do I create those ‘Set’ nodes you have?

2. How do I reference the DMI? You have a node called ‘My DMI’… how do I create that?

3. I am creating this blueprint on the Actor. Through that, I am getting ‘Text 3DComponent’ as opposed to ‘Text3D’. Is this ok?

I realise these are likely fairly basic questions, apologies.

Thank you!

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [December 1, 2023, 11:59am UTC](https://forums.unrealengine.com/t/dynamic-materials-with-3d-text/1425291/6 "2023-12-01T11:59:03Z")

</div>

> How do I create those ‘Set’ nodes you have?

When nodes return values, the data is usually of a very specific type. Here:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/5/4b5312813a4fca9468bfcf5c12a7072c093ad14e.png)

You can assign this value to a variable for later use (to access the material and change its color). You could laboriously click about a dozen times and:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/c/1/1c1df982d827dc9f8510eae8bffa16265a6de09f.png)

And then alt+drag:

Or right click the pin **instead** to:

Which I highly recommend. This variable is the same as any other variable when it comes `Get` (read) | `Set` (write to):

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/6/6b66129fad9828715a9e2812316c2121363f387c.png)

More on variables:

> **[Blueprint Variables](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/Blueprints/UserGuide/Variables/)**
>
> Properties that hold a value or reference an Object or Actor in the world.

* * *

> You have a node called ‘My DMI’

I renamed it to better reflect what it represents DMI - **D** ynamic **M** aterial **I** nstnace. `NewVar0` is just not good enough. Ideally, it should be called something along the lines of `text3d_MainMenuFrontDMI`… So the future you thanks you.

* * *

> [@karlvanlint11](#):
>
> I am creating this blueprint on the Actor. Through that, I am getting ‘Text 3DComponent’ as opposed to ‘Text3D’. Is this ok?

Yup! `Text 3d` is the default component user-friendly name:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/a/3/fa3a44d4897909c4eaae7e9b56e79fb2620ea745.png)

Text 3dComponent is the data type:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/a/b/4ab813cd3995d2203d5c4fe17bd2f8da792d3357.jpeg)

---

<div class="post-metadata">

**Author:** ![karlvanlint11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@karlvanlint11](https://forums.unrealengine.com/u/karlvanlint11)\
**Post date:** [December 1, 2023, 3:10pm UTC](https://forums.unrealengine.com/t/dynamic-materials-with-3d-text/1425291/7 "2023-12-01T15:10:04Z")

</div>

You are a star for all your help! I haven’t had time to test just yet but am looking forward to doing so. Thank you!

---

<div class="post-metadata">

**Author:** ![karlvanlint11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@karlvanlint11](https://forums.unrealengine.com/u/karlvanlint11)\
**Post date:** [December 1, 2023, 3:42pm UTC](https://forums.unrealengine.com/t/dynamic-materials-with-3d-text/1425291/8 "2023-12-01T15:42:18Z")

</div>

It all works.

Again, thank you so much! Taken aback at the level of help.

---

<div class="post-metadata">

**Author:** ![TheMOON121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheMOON121](https://forums.unrealengine.com/u/TheMOON121)\
**Post date:** [November 12, 2025, 9:51am UTC](https://forums.unrealengine.com/t/dynamic-materials-with-3d-text/1425291/9 "2025-11-12T09:51:08Z")

</div>

If you’ve just saw this post after new update of text 3D plugin, you can now use “GetMaterialExtension” node for setting the colors of your text 3D component. By using return value you can drag for example “SetFrontColor” node and update your color. Also for the GetMaterialExtension input node called “InExtensionClass” you must put Text 3DDefault Class.
