I've been making a preset which allows for the UI mask to be toggled whenever I want to take a screenshot without the in-game UI, it used to work in older versions of ReShade but doesn't seem to work now for some reason. The UI mask itself does work, it just won't toggle when I press the defined key.
I have even tried multiple different keys but none have worked, however they all worked when toggling other things like DoF.
Here's the settings I'm using:
#define USE_UIMask 1 //[UIMask] //-A mask that defines which areas of the screen will have no effects applied
//>UI Mask Settings<\\
#define UIMask_Helper 0 //[0:1] //-Helps to automatically create a UI - Mask for static elements
#define UIMask_Direct 0 //[0:1] //-1: loads the mask from memory; 0: loads the mask from disk
#define UIMask_Tolerance 5 //[0|1|2|3|4|5] //-Defines the tolerance level of the algorithm when detecting UI elements
#define UIMask_HelperKey VK_F12 //[undef] //-When pressed, starts to create a UI - Mask for static elements
#define UIMaskReset_HelperKey VK_F11 //[undef] //-Resets the automatically created UI - Mask (press again to release)
#define UIMask_ToggleKey VK_F9 //[undef] //-No description given