dynamic hud masking

  • v00d00m4n
  • Topic Author
More
7 years 3 months ago #1 by v00d00m4n dynamic hud masking was created by v00d00m4n
idea is similar to this one reshade.me/forum/shader-suggestions/1494...ut-white-black-point but requires buffered previous frame.
Works simple : we check if pixel at same coords hasn't changed or not changed significaly (need some threshold settings for that) from previous frame - this will indicate static object which most likely would be UI. At static scenes there could be glitches, so there has to be some threshold of percentage of static pixels per scene, so lets say if more than 10 of pixels are static most likely it isn't hud so we don't apply masking here. This shader shold not be used globaly and should be used as aid to separate shaders. I'm not sure this can even be done in pure shader so sush thing shold be better implemented as native reshade function that can be used in shaders.

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.