Add Lumen Setting
Last updated
Last updated
This is a guide how you can create a setting to toggle Lumen on/off.
Add a new Toggler to your settings menu and choose a title. For example "Lumen Illumination". Make sure that you set it to the right Settings Section.
Select the Togglerin your Design tab and in the Details tab scroll to the bottom to at the OnApplied event
Make sure that in your map is a post process volume placed. If not drag a new one in your map:
Select it and search in the Details tab for "Infinite" and set it to true:
Back in the settings menu where you added the Togglerin step 1 go to the Graph Tab and add a new variable with the type Post Process Volume and you can call it "LevelPostProcessVolumeRef".
With the OnApplied event you added in step 2 you can do the following implementation:
This is only for the global illumination but you can also add a new Toggler and do the same for Reflection Method.