Welcome, Guest.
Username: Password: Remember me

TOPIC: DOF+different UI masks

DOF+different UI masks 8 months 1 week ago #1

Hello people!! Sorry for my bad English, but I try to explain what I want and what I do.
I play different games with Depth Of Field by Marty McFly and use this effect with UI Mask texture. Different games have different UI layout, so I changed file \ReShade\Shaders\Ganossa\Textures\uiMask.png with another painted UI mask for another game every time. I can't to define different UI mask textures for every game in his preset in REshade Assistant and I try to fix this lack.
BACKUP YOUR RESHADE FOLDER!! And let's begin...
1) Open file \ReShade\Shaders\Ganossa\uiMask.fx and find this string:
texture uiMaskTex < source = "ReShade/Shaders/Ganossa/Textures/uiMask.png"; > { Width = 1920; Height = 1080; MipLevels = 1; Format = RGBA8; };
And change it:
texture uiMaskTex < source = "ReShade/Shaders/Ganossa/Textures/ui_masks/" uiMaskTexture; > { Width = 1920; Height = 1080; MipLevels = 1; Format = RGBA8; };
2) Create folder \ReShade\Shaders\Ganossa\Textures\ui_masks\ and bring file uiMask.png to it.
3) Open file \ReShade\Shaders\Ganossa.undef and add string #undef uiMaskTexture after string #undef USE_UIMask.
4)Open file \ReShade\Presets\Default\Shaders_by_Ganossa.cfg and find section ///**UIMask**///.
Add string #define uiMaskTexture "uiMask.png" //[undef] //-Defines UI - mask texture in this section.
And if you open REShade Assistant now on the VALUE tab of the UIMask - Ganossa shader, you must see new string uiMaskTexture.
Put files of the painted uiMask textures' of every game you playing with REShade to the "\ReShade\Shaders\Ganossa\Textures\ui_masks\" folder.
Now you can to define different UI mask textures in every game's profile! And no need to swap uiMap.png file every time you want to play another game with DOF+UIMask effects.
The administrator has disabled public write access.

DOF+different UI masks 8 months 1 week ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2446
  • Thank you received: 1388
Good point. Textures like the UI Mask or LUTs should be moved to the presets/profiles, rather than being global.
Cheers, crosire =)
The administrator has disabled public write access.