DOF_NEARBLURCURVE not working?

  • GERgta
  • Topic Author
More
8 years 2 months ago #1 by GERgta DOF_NEARBLURCURVE not working? was created 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.

  • SpinelessJelly
More
8 years 2 months ago #2 by SpinelessJelly Replied by SpinelessJelly on topic DOF_NEARBLURCURVE not working?

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

  • GERgta
  • Topic Author
More
8 years 2 months ago - 8 years 2 months ago #3 by GERgta Replied by GERgta on topic DOF_NEARBLURCURVE not working?

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?
Last edit: 8 years 2 months ago by GERgta.

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

  • SpinelessJelly
More
8 years 2 months ago #4 by SpinelessJelly Replied by SpinelessJelly on topic DOF_NEARBLURCURVE not working?
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.

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.