Hello! I’m trying to change multiple post process settings by using multiple buttons in runtime.
I have 5 checkboxes named “A”, “B”, “C”, “D”, and “E” in a single UI Widget.
The following is what each of those is supposed to do:
A: Change manual exposure to 10 when checked and to 5 when unchecked.
B: Toggle lumen lighting on and off
C: Toggle lumen shadows ultra and low
D: Toggle Ray Tracing on and off
E: Toggle Path tracing ultra and low.
The Widget is set so that when user checks “D” option, the lumen lighting and shadows will automatically be turned off and ray tracing will be turned on and opposite when it is unchecked.
I’m monitoring the FPS with MSI Afterburner to see which is getting enabled and which is not.
Option A doesn’t cause any problem.
The problem happens with all of them except A. I have created event dispatchers in Level Blueprint and created the execution flow from A-E.
As default none of them is checked. When I check Lumen lighting (B), I see the FPS drop. That’s how I know it is working. And it’s getting backup when unchecked. The same goes for Ray Tracing (D).
But when I enable Lumen lighting (B) then try to enable Lumen shadows (C), I don’t see any FPS difference and it’s the same as Path Tracing after I enable Ray Tracing.
The execution flow doesn’t make sense cause Ray Tracing is working but shadows isn’t which is before the Ray Tracing option.
I need to know how I can retain the previously changed value in post process settings if I click on another button that just takes the current value and sets it to post process settings as it is.
My GPU is RTX 3050.
Any help will be appreciated.