antsonthetree
Topic Author
Posts: 44
Joined: 09 Jan 2018, 15:56

UE4 Render Target Material

23 Jan 2018, 16:01

Hello,

I have a material that is a render target (remote camera, mini-map, etc) that I would like to display in a corner of my Noesis HUD. It looks like I cannot bind xaml Image Source directly to a material or texture in UE4. What is the preferred method for doing this in Noesis and UE4?

Thanks
Jake
 
User avatar
hcpizzi
Site Admin
Posts: 316
Joined: 09 Feb 2012, 12:40

Re: UE4 Render Target Material

23 Jan 2018, 21:29

Hi Jake,

We support Binding both Texture2D and TextureRenderTarget2D properties to be used in Bindings where an ImageSource is required. Take a look at the QuestLog sample. The Quest Blueprint has an Image property that is a Texture2D that is used in a Binding in MainWindow.xaml (look for "{Binding SelectedQuest.Image}".

What does your setup look like?
Last edited by hcpizzi on 24 Jan 2018, 07:50, edited 1 time in total.
 
antsonthetree
Topic Author
Posts: 44
Joined: 09 Jan 2018, 15:56

Re: UE4 Render Target Material

24 Jan 2018, 03:33

This is really great news! I totally missed the QuestLog example. FYI the list of bindable UE4 datatypes in the doc (https://github.com/Noesis/UE4Plugin) does not include Texture2D or TextureRenderTarget2D.

Thank you for the info!
Jake
 
User avatar
hcpizzi
Site Admin
Posts: 316
Joined: 09 Feb 2012, 12:40

Re: UE4 Render Target Material

24 Jan 2018, 07:50

You're right. I've just updated the README.

Let us know if you run into any problems.
 
User avatar
jsantos
Site Admin
Posts: 3906
Joined: 20 Jan 2012, 17:18
Contact:

Re: UE4 Render Target Material

25 Jan 2018, 05:07

Marking this as solved

Who is online

Users browsing this forum: No registered users and 79 guests