Inverse Emphasize

  • Digika
  • Topic Author
More
2 years 1 month ago #1 by Digika Inverse Emphasize was created by Digika
github.com/crosire/reshade-shaders/blob/...Shaders/Emphasize.fx

Right now in the game I'm using this shader it works by highlighting very specific area based on depth and while the rest is desaturized. What I ideally want is reverse of that, i.e. the specific area in the depth-distance being affected (either tinted with custom color or desaturized) while the rest of the space is not affected. Basically I want what classic DOF does except instead of blurring I want to put custom color accent on it.

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

  • rj200
More
1 year 9 months ago #2 by rj200 Replied by rj200 on topic Inverse Emphasize
Actually this change is very trivial - just modify depthDiffCoC to be (1-depthDiffCoC). I've made a version with an "InvertEffect" GUI toggle that does exactly that:

github.com/crosire/reshade-shaders/blob/...Shaders/Emphasize.fx

How is that?
The following user(s) said Thank You: YF

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.