DOF_NEARBLURCURVE not working?

  • Posts: 39
4 years 4 months ago #1 by GERgta
Hello forums! :)

I am having problems with the option DOF_NEARBLURCURVE, it does not seem to do anything? I set it to 1000, I still have near-blur. Is this error just occuring for me or does someone else experience that?

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

  • Posts: 133
4 years 4 months ago #2 by SpinelessJelly

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

  • Posts: 39
4 years 4 months ago - 4 years 4 months ago #3 by GERgta

SpinelessJelly wrote: reshade.me/forum/shader-discussion/1456-...work-1-1-fixes#10858

---
Sorry it took so long, I was sick. I tried that link today, however, it did not help. I did these edits at every instance of the code described there and in the end it looked like this:
//#if(DOF_AUTOFOCUS != 0)
	discRadius*=(centerDepth < 0.5) ? (1.0 / max(DOF_NEARBLURCURVE * 2.0, 1.0)) : 1.0; 
//#endif
Did I do anything wrong?

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

  • Posts: 133
4 years 4 months ago #4 by SpinelessJelly
The line looks fine, don't know why it does not work for you.

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