Welcome, Guest.
Username: Password: Remember me

TOPIC: Unnoficial Framework 1.1 Fixes

Unnoficial Framework 1.1 Fixes 1 year 2 weeks ago #1

  • piltrafus
  • piltrafus's Avatar
  • Offline
  • Posts: 73
  • Thank you received: 15
I'll share some fixes I did for a few effects for Framework 1.1
This are just fixes for a few control attributes that don't work as they should. There's no optimizations or any fancy stuff and I'm not trying to improve on the work of the devs. They did a fantastic job handling the massive release but maybe a few lines of code where misplaced in a few spots.
And don't complain if your stuff breaks because of this. It worked for me. May not work for you.

NEAR AO FADE FIX
on reshade 1.1 open the ssao.h file and search for 'float4 PS_AO_AOCombine' then add this two lines at the end of the pass, right before 'color.xyz *= ao;'

float depth = tex2D(RFX_depthTexColor, texcoord.xy).x;
ao =lerp(ao,1.0,smoothstep(AO_FADE_START, AO_FADE_END,depth));

NEAR DOF CURVE FIX
To fix the near dof control curve you should edit the DOF.h file and find every copy of this lines:
#if(DOF_AUTOFOCUS != 0)
discRadius*=(centerDepth < 0.5) ? (1.0 / max(DOF_NEARBLURCURVE * 2.0, 1.0)) : 1.0;
#endif

and then edit out or comment the #if and #endif so it looks like this:
//#if(DOF_AUTOFOCUS != 0)
discRadius*=(centerDepth < 0.5) ? (1.0 / max(DOF_NEARBLURCURVE * 2.0, 1.0)) : 1.0;
//#endif
The administrator has disabled public write access.
The following user(s) said Thank You: Wicked Sick, SiriusHours, NattyDread, SpinelessJelly, Ganossa

Unnoficial Framework 1.1 Fixes 1 year 2 weeks ago #2

  • Ganossa
  • Ganossa's Avatar
  • Offline
  • 최정장군
  • Posts: 790
  • Thank you received: 838
Thank you for the effort piltrafus, you might consider checking out our github

github.com/crosire/reshade-shaders

We frequently push updates/fixes there and it is also possible for you to contribute directly if you find something missing or need to be fixed. :)
The administrator has disabled public write access.
The following user(s) said Thank You: Wicked Sick, NattyDread

Unnoficial Framework 1.1 Fixes 1 year 2 weeks ago #3

  • piltrafus
  • piltrafus's Avatar
  • Offline
  • Posts: 73
  • Thank you received: 15
I'll do it then with your permission. Thanks.
The administrator has disabled public write access.