x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

I want to load a material instance inside the Material Editor.

Is there a way?

alt text

Product Version: UE 4.15
Tags:
atlas.png (130.8 kB)
more ▼

asked Mar 09 '17 at 07:11 AM in C++ Programming

avatar image

GameProgrammer
13 1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

You can't. But what you can do is use a Draw Material to Render Target node in blueprints. If you draw to a Render Target asset, you can reference it in your Texture Object node. If you use a Create Render Target node, and draw to that, replace the Texture Object with a Texture Object Parameter node in your master material. Then create a dynamic material instance of your master material, and use a Set Texture Parameter Value to reference the Render Target being drawn to.

more ▼

answered Mar 09 '17 at 07:35 AM

avatar image

xnihil0zer0
249 4 5 13

avatar image GameProgrammer Mar 09 '17 at 07:58 AM

It sounds like a lot of work, but it is possible. Let's consider. Thank you for answer.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question