Welcome, Guest.
Username: Password: Remember me

TOPIC: a subtle hack UI Mask

a subtle hack UI Mask 6 months 1 week ago #1

a hack UI Mask
Working in FF14. so,maybe other games will work too...
so subtle,you need to try,I can't guarantee anything. :unsure:

There are three in the list,is order
  • HackUIMask ←top
  • ** other fx **
  • HackUICut ←is a UI black mask,avoid UI impact on next FX
  • **other fx **
  • HackUIRestore ←end

HackUImask.fx

Warning: Spoiler! [ Click to expand ]
Last Edit: 6 months 1 week ago by UTwelve. Reason: 渣英语
The administrator has disabled public write access.
The following user(s) said Thank You: Wicked Sick, du, AssassinsDecree

a subtle hack UI Mask 6 months 1 week ago #2

other game
Warning: Spoiler! [ Click to expand ]
The administrator has disabled public write access.
The following user(s) said Thank You: Wicked Sick

a subtle hack UI Mask 2 months 2 weeks ago #3

Probably a stupid question, but how is this different from the already existing UI mask that comes with Reshade?
Last Edit: 2 months 1 week ago by aaronth07. Reason: spelling correction
The administrator has disabled public write access.

a subtle hack UI Mask 2 months 2 weeks ago #4

aaronth07 wrote:
Probably a stupid question

Not at all. In some games the UI is visible in the alpha component of the backbuffer. With that it is possible to create a UI mask at runtime (i.e. a mask that automatically adapts to the UI). As far as i know UIMask.fx masks the UI based on an image you provide and UIDetect.fx can bypass other effects (DOF for example) based on the color of certain pixels.
The administrator has disabled public write access.

a subtle hack UI Mask 2 months 2 weeks ago #5

can be used to respect fog and lightning effects.. i.e. bypass the mxao shader or rtgi shader?
The administrator has disabled public write access.

a subtle hack UI Mask 2 months 2 weeks ago #6

unfortunately no
The administrator has disabled public write access.

a subtle hack UI Mask 1 month 4 days ago #7

honestly Would there ever be such a fix? It's the only thing really bad with reshade. I never understood why the dev's never try to fix it but can release more advanced shaders like raytracing that will just obscure any HUD on screen. That's the only immersion breaking reshade does for me.
Last Edit: 1 month 4 days ago by peronmls.
The administrator has disabled public write access.

a subtle hack UI Mask 1 month 4 days ago #8

peronmls wrote:
honestly Would there ever be such a fix? It's the only thing really bad with reshade. I never understood why the dev's never try to fix it but can release more advanced shaders like raytracing that will just obscure any HUD on screen. That's the only immersion breaking reshade does for me.

Doubtable that it'll ever happen. Each game renders their UI in a different way, different elements and so on. It would defeat the purpose of ReShade to manage things on a game to game level. It also can't be done perfectly with a shader either as UI elements are so diverse, detecting them with any sort of failsafe heuristic is impossible. Also it's not possible to restore data obscured by the UI, so effects that would require such data cannot be fixed, even if the UI was detected perfectly.
The administrator has disabled public write access.
The following user(s) said Thank You: AssassinsDecree

a subtle hack UI Mask 1 month 4 days ago #9

Marty McFly wrote:
peronmls wrote:
honestly Would there ever be such a fix? It's the only thing really bad with reshade. I never understood why the dev's never try to fix it but can release more advanced shaders like raytracing that will just obscure any HUD on screen. That's the only immersion breaking reshade does for me.

Doubtable that it'll ever happen. Each game renders their UI in a different way, different elements and so on. It would defeat the purpose of ReShade to manage things on a game to game level. It also can't be done perfectly with a shader either as UI elements are so diverse, detecting them with any sort of failsafe heuristic is impossible. Also it's not possible to restore data obscured by the UI, so effects that would require such data cannot be fixed, even if the UI was detected perfectly.
But isn't this exactly what the shader posted in the OP is doing? It's not even using a texture as an overlay, so it seems to be doing it on the fly. I haven't tried the shader yet but it's intriguing.
The administrator has disabled public write access.

a subtle hack UI Mask 1 month 3 days ago #10

It uses the alpha channel of the backbuffer before any rendering happened. By chance, FF14 draws the UI mask into alpha channel, so you have info where UI is and where not. No other game I know of does this, and thus you'd have to infer from the screen colors, a failsafe method is impossible that way. Plus you cannot restore data behind the UI, that's why this shader masks it with black to mask it from future effects that might smear it beyond the UI mask borders.

Also, transparent effects, what the person above asked for, is completely impossible. Just because our eyes can discern what's a transparent object does not mean that a shader can.
The administrator has disabled public write access.
The following user(s) said Thank You: AssassinsDecree

a subtle hack UI Mask 1 month 2 days ago #11

Marty McFly wrote:
It uses the alpha channel of the backbuffer before any rendering happened. By chance, FF14 draws the UI mask into alpha channel, so you have info where UI is and where not. No other game I know of does this, and thus you'd have to infer from the screen colors, a failsafe method is impossible that way. Plus you cannot restore data behind the UI, that's why this shader masks it with black to mask it from future effects that might smear it beyond the UI mask borders.

Also, transparent effects, what the person above asked for, is completely impossible. Just because our eyes can discern what's a transparent object does not mean that a shader can.
Cool, thanks for explaining Marty :)
The administrator has disabled public write access.
The following user(s) said Thank You: AssassinsDecree