Change Material Parameters in Runtime

Step 0.

You can change materials of post process volume but it's very hard without native code.
Using 'Post Process Component' is more simple and working without c++.

Step 1.

Add a 'Post Process Component' to my PlayerController.



Step 2.

 - Add a member variable. Type is 'Material Instance Dynamic'.
 - On BeginPlay, Create a new instance and make the post process component of this controller use it.
 - Add Some key events for testing.



Comments

Popular posts from this blog

Liquid material in a bottle

MatCap material

How to Make Circular Progress Bar(or Rounded Rectangle)