Is there a way to add an option to enable/disable Lumen for in-game settings?

Hi, I tried searching if there is a way to add an option to toggle Lumen for in-game settings but couldn’t find anything regarding this. Is there a node or a console command for this?

1 Like

Yes:

r.DynamicGlobalIlluminationMethod 0 ( or 1 )

2 Likes

This seems to only work without post-processing. Is there a console command which would change that in post-processing?

How do you mean?

When I type the command into the console, it doesn’t enable/disable Lumen inside a post-process volume but when the post-process volume is disabled, it works. So is there a way to make the console command work inside a post-process volume as well?

I guess they’re expecting you to talk to the PP then

image

2 Likes

I figured out a working solution, thanks.

1 Like

Hi, would you mind sharing your solution? I want to implement this as well. Thanks in advance :slight_smile:

4 Likes

See the very start of this thread…

1 Like

Hi, sorry for the late response I forgot to answer this. I used the “Make PostProcessSettings” node and set the post process settings somehow from there when toggling Lumen with a button for example. I can’t access the project files anymore unfortunately so I’m sorry I wasn’t able to provide any screenshots.

1 Like