- Posts: 8
UI Mask that enables/disables based on pixel color.
- MinerOfWorlds
-
Topic Author
- Offline
Sorry if this is a dumb idea.
Please Log in or Create an account to join the conversation.
- prod80
-
- Offline
- Posts: 123
Please Log in or Create an account to join the conversation.
- MinerOfWorlds
-
Topic Author
- Offline
- Posts: 8
Please Log in or Create an account to join the conversation.
- prod80
-
- Offline
- Posts: 123
MinerOfWorlds wrote: Sadly, I don't have the right know-how to make a shader, but what i would like is basically a version of UIMask that auto-enable/disables based on a certain pixels color. That way, inventory screens and the like can be unaffected by shaders.
Yes but, so would every other pixel with the same color... and rarely you'd meet an inventory screen (or other screens) that is uniformly the same color with no variation. If really it's a big issue that reshade is enabled when the inventory screen is open, perhaps match the key to enable/disable reshade and to open/close inventory so when you open inventory - reshade is disabled. You can also set a hotkey on an effect... so if DoF makes inventory unreadable, you can disable that using same key as you use to open inventory (right click on effect -> "click here to set hotkey").
Please Log in or Create an account to join the conversation.
- MinerOfWorlds
-
Topic Author
- Offline
- Posts: 8
Again, sorry if this is stupid.
Please Log in or Create an account to join the conversation.
- prod80
-
- Offline
- Posts: 123
MinerOfWorlds wrote: I'm sorry, but I don't understand. If pixel (x, y) is (r, g, b) then mask the frame using a .png to know what pixels should be affected.
Again, sorry if this is stupid.
Because even if you say "only apply mask on a specific color", you'll find that such color will be found in many places, but it's just a pixel here and there.
Please Log in or Create an account to join the conversation.
- MinerOfWorlds
-
Topic Author
- Offline
- Posts: 8
Please Log in or Create an account to join the conversation.
- prod80
-
- Offline
- Posts: 123
Please Log in or Create an account to join the conversation.
- MinerOfWorlds
-
Topic Author
- Offline
- Posts: 8
Please Log in or Create an account to join the conversation.
- Tojkar
-
- Offline
- Posts: 125
Please Log in or Create an account to join the conversation.
- MinerOfWorlds
-
Topic Author
- Offline
- Posts: 8
Please Log in or Create an account to join the conversation.
- brussell
-
- Offline
- Posts: 305
Were you drunk or sth

reshade.me/forum/shader-presentation/4024-uidetect
github.com/crosire/reshade-shaders/blob/.../Shaders/UIDetect.fx
github.com/crosire/reshade-shaders/blob/...Shaders/UIDetect.fxh
@MinerOfWorlds
It certainly is possible to make UIDetect work with UI masks. I will look into it and report back if I have something useful.
Please Log in or Create an account to join the conversation.
- MinerOfWorlds
-
Topic Author
- Offline
- Posts: 8
Please Log in or Create an account to join the conversation.
- prod80
-
- Offline
- Posts: 123
brussell wrote: @prod80
Were you drunk or sth, cause you clearly haven't understood MinerOfWorlds request at all. In case you don't know UIDetect, which seems to be the case, here you can read about it:
reshade.me/forum/shader-presentation/4024-uidetect
github.com/crosire/reshade-shaders/blob/.../Shaders/UIDetect.fx
github.com/crosire/reshade-shaders/blob/...Shaders/UIDetect.fxh
@MinerOfWorlds
It certainly is possible to make UIDetect work with UI masks. I will look into it and report back if I have something useful.
No I apparently did not get what exactly he wanted to achieve here, anyway, cheers
Please Log in or Create an account to join the conversation.
- brussell
-
- Offline
- Posts: 305
reshade.me/forum/shader-presentation/4024-uidetect#38936
Please Log in or Create an account to join the conversation.