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"

How to access a value from material in BP?

Is it possible to read a value at specified output from specified material in blueprints? For example, how to access this value in blueprint from specified material instance?

alt text

I can't see any 'output' options for materials that could be used for that. Does this mean that I need to recreate this calculation in blueprint? If yes, I see that we have Frac and Sin in blueprints, but what's the equivalent of material's Time node output?

I will be grateful for some tips!

Product Version: UE 4.12
bez tytułu.jpg (43.6 kB)
more ▼

asked Aug 01 '16 at 06:32 PM in Rendering

avatar image

2k 153 152 204

avatar image Slavq Aug 01 '16 at 07:40 PM

I see that I probably won't be able to recreate the 'Time' node in blueprints to achieve the same value as in material instance... Well, I'll need to calculate all this a little differently in blueprints and pass to material parameter every tick...

avatar image Diego_Visualma Aug 02 '16 at 09:40 AM

Remember that tick is frame dependent, so you will want to use delta time for that. Every tick, add delta time to a float that is keeping track of your current total elapsed time, and use that for your sine.

avatar image omegadelta007 Nov 10 '18 at 12:03 AM

I Wish there was output parameters (a method of storing material variables and access them in blueprint) in UE4's materials

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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