The existing shader structure has been changed quite a lot as has the ReShade.fx structure, used to be possible to make changes to it so it was still compatible with the 1.1 binaries but I don't think that's doable anymore since it's changed so much.
(I'm using most of the Github shader changes with 1.1 for example besides some of the newest commits due to the changes in ReShade.fx and a few other files that requires the 2.0 binaries to work.)
This is technically possible but that means fade start/fade end value for every single effect out there. That's a load. Haze for DoF is possible, it would look same like the DoF from Skyrim DYNAVISION mod where blurred and original image get blended together. I will recycle old code write a fog shader soon though, which can create a hazy image depending on configuration.
depth haze for a depth of field like effect for distant objects such as LOD terrain
It would be cool if we could use any shader in conjunction with depth of field. Like have everything past a certain point have a sepia/toon/monochrome etc shader applied to it. Haze is cool though.
My DepthHaze uses a block blur with edgebleed detection, but no color fading and it's meant to blur far away elements a bit as often hard edges are visible and these look off, as a human can't see crisp details in the far distance. See: www.flickr.com/photos/52066611@N00/23922...m-72157659853375215/
Here a low threshold is used ( so the effect is not strongly applied), as you can see the tower in the background isn't crisp, but slightly blurred. Exactly how Marty explains it: 2 images are blended together, one blurred, one not. the one which is blurred has edgebleed detection so pixes don't 'leak' into the blurred image (which creates the dreaded 'halo' effect in some DoF implementations)
The other effect (also already committed to the reshade lib) is emphasize which does what you want though: it desaturates around a focus plane with a range you specify and can blend a color onto it if you want (so you can create sepia by blending a sepia color as the desaturated image is b&w ). You can find it for v1.1 here: github.com/FransBouma/OtisFX.
Marty: it might be enough to add a desaturation option to depth haze to create a bit of fog effect. I'm madly busy at the moment, but will look into that once v2.0 (when is it coming btw?) is released as I don't have the 2.0 dll so I can't test things.
After I posted what you responded to, I started looking around for depth based toon effects and found this guy's work. He made a shader pack for UE, there's a demo here and a video. Most of the effects in the demo can be fullscreen or applied only to depth. Seems advanced for a Reshade shader but it's very cool.
I need help having 2 different toggle keys for SweetFX.
In SweetFX.cfg, I have:
#define SharedShader_ToggleKey RFX_ToggleKey
which works fine... it uses my defined RFX_ToggleKey to toggle my enabled effects (tonemap and vibrance), but if I enable SMAA:
#define USE_SMAA 1
#define SMAA_ToggleKey VK_MULTIPLY
Shared Shader no longer toggles with RFX_ToggleKey and gets lumped in with the SMAA toggle and activates with VK_MULTIPLY.
What am I doing wrong? I want 2 separate toggles for Shared Shader and SMAA. Is this possible?