What is the best way to change materials when the sublevel is activated? (light scenario)

Hi everyone! I’ve created two different sublevels with only lights (day and night versions). I can switch them with a TAB. I have already created blueprints with meshes on a persistent level. So I want to change materials in my blueprints with meshes on the night version (with emission etc.) when sublevel “Night” turns on and vice versa. What is the best way to do that? Maybe I can check if my sublevel “Night” is active then the materials change.

P.S. The idea to switch the materials with a TAB is impossible because I have a trigger collision on the scene that enables/disables my keyboard. As I understand I can’t press TAB in any place where I want.

To do a broad reaching material change look into Material Parameter Collections. This would require work in your materials to read from the MPC, but allows you to adjust a few parameters and affect all materials that use the MPC.

2 Likes