Creating render target 2d in BP and set it as a texture parameter. What i did wrond?

Hi guys ! :slight_smile:

I trying to achieve dead simple BP actor.
It has a Scene capture component 2D, and some cube.

Currently im creating render target β†’ create dynamic material instance for my cube β†’ set texture parameter value. Naming of texture parameter are the same, of course, but texture are always black.
Inside material i just put texture parameter 2d straigth to emissive channel.

What i did wrong?

BP screenshot:

Where are you using the Dynamic Instance and RT?

If you don’t update or reference it somewhere it will have nothing in it

Dynamic material instance are set to Cube inside actor.

If you don’t update or reference it somewhere it will have nothing in it

But how to do it proper way?

Oh, i fail because i didnt assign my created rendere target to scene capture (which you normally do by hands).

Here’s how to do stuff like that :slight_smile:

1 Like