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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to update a post-process material parameter in BP?

Hi, I have an unbound post-process volume in my level that has a post-process material with 3 scalar parameters. I would like to change values of, for example, the "darken factor" parameter in character blueprint. How do I do that?

alt text alt text

Note: I have read everything on dynamic material instances but none of them explain how to change parameters of a material in a post-process volume, only of a mesh material.

Thanks in advance.

Product Version: UE 4.20
Tags:
capture.png (58.1 kB)
capture.png (7.3 kB)
more ▼

asked May 19 '19 at 02:54 PM in Using UE4

avatar image

Heiko_Schmitz
11 1 1 3

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

3 answers: sort voted first

depending what you're doing you may be able to get away with using a material parameter collection. that be the easiest method.

alternatively, if you make your post process into a blueprint (which is basically just a box collision with a post process component as a child), you can alter the parameters. I'm not sure exactly how that's done though.

you could look at the chameleon post processing as an example since that's free for the month.

more ▼

answered May 19 '19 at 09:38 PM

avatar image

IndieGameCove
1.3k 9 4 10

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

You need to replace post process material in the settings with dynamic instance, which is painful to do in blueprints as you need to go thru lot of notes just to get material then set new one

more ▼

answered May 19 '19 at 09:21 PM

avatar image

Shadowriver
36.6k 931 169 1111

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

For anybody else doing this in the future, using material parameter collections worked since the parameters in it can be accessed from any blueprint with no communication needed. 10/10, would recommend.

alt text

capture.png (20.1 kB)
more ▼

answered May 20 '19 at 10:08 AM

avatar image

Heiko_Schmitz
11 1 1 3

(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