Welcome, Guest.
Username: Password: Remember me

TOPIC: Grand Theft Auto IV DOF problem [ReShade 2.0.3f1]

Grand Theft Auto IV DOF problem [ReShade 2.0.3f1] 6 months 4 weeks ago #1

  • Kubo
  • Kubo's Avatar
  • Offline
  • Posts: 4
Hi, i have a problem with autofocus, seems make dof stop working.
I'm working on my graphics mod for a few months, and before 2.0 came out i was using 1.1.
In v1.1 dof and autofocus work great. I'm reading some topics about dof problems but no one solve mine.

So, dof works, but when i set autofocus=1 seems not working anymore, some examples:
#1
Warning: Spoiler! [ Click to expand ]


#2
Warning: Spoiler! [ Click to expand ]


#3
Warning: Spoiler! [ Click to expand ]


This is my dof setting (it's a "just for test if it works" setting):
Warning: Spoiler! [ Click to expand ]


And this my global.cfg setting:
Warning: Spoiler! [ Click to expand ]


Sorry for my bad english and thanks in advance for replies:)
I take this opportunity to congratulate crosire, ganossa and others for their work.
Last Edit: 6 months 4 weeks ago by Kubo.
The administrator has disabled public write access.

Grand Theft Auto IV DOF problem [ReShade 2.0.3f1] 6 months 4 weeks ago #2

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 610
  • Thank you received: 720
#define DOF_FARBLURCURVE 0.05 //[0.05:5.00] //-Curve of blur behind focal plane. Higher means less blur.
#define DOF_MANUALFOCUSDEPTH 0.02 //[0.00:1.00] //-Depth of focal plane when autofocus is off. 0.0 means camera, 1.0 means infinite distance.

Issue right there. Such a low far blur curve makes blur build up almost instantly to maximum behind focal plane. And the second value ensures that the focus depth is almost at the camera itself so you have a sharp area until like 20cm from the camera away and then blur kicks in with almost instantly full power.
The administrator has disabled public write access.
The following user(s) said Thank You: Kubo

Grand Theft Auto IV DOF problem [ReShade 2.0.3f1] 6 months 4 weeks ago #3

  • Kubo
  • Kubo's Avatar
  • Offline
  • Posts: 4
Thanks for reply. My problem is when autofocus is on, why the image is not blurred anymore? Or at least blurred behind the focus?
Also putting "RESHADE_DEPTH_INPUT_IS_REVERSED" and "RESHADE_DEPTH_INPUT_IS_LOGARITHMIC" to 1 autofocus seems not working:/
In v1.1 it worked perfectly.
Last Edit: 6 months 4 weeks ago by Kubo.
The administrator has disabled public write access.

Grand Theft Auto IV DOF problem [ReShade 2.0.3f1] 6 months 4 weeks ago #4

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 610
  • Thank you received: 720
Changes (not by me) in linearizing depth algorithm. Enable depth buffer output and try to tweak the depth buffer values until you have a smooth gradient from black (close) to white (far).
The administrator has disabled public write access.
The following user(s) said Thank You: Kubo

Grand Theft Auto IV DOF problem [ReShade 2.0.3f1] 6 months 4 weeks ago #5

  • Kubo
  • Kubo's Avatar
  • Offline
  • Posts: 4
In DisplayDepth there are no values, with "depth buffer values" you mean "RESHADE_DEPTH_LINEARIZATION_FAR_PLANE" in global.cfg?
For now my screen is fully black with DisplayDepth enabled.
The administrator has disabled public write access.

Grand Theft Auto IV DOF problem [ReShade 2.0.3f1] 6 months 3 weeks ago #6

  • kurtferro
  • kurtferro's Avatar
  • Offline
  • Posts: 24
  • Thank you received: 1
//>Depth Settings<\\
#define RESHADE_DEPTH_LINEARIZATION 1 //[0:1] //-Set this to zero for games without depth buffer access or if you do not use any depth dependent effects.
#define RESHADE_DEPTH_LINEARIZATION_FAR_PLANE 1000.0 //[0.0:100000.0] //-The far clipping plane distance.
#define RESHADE_DEPTH_INPUT_IS_UPSIDE_DOWN 0 //[0:1] //-Set this to one for games where the depth buffer is upside down.
#define RESHADE_DEPTH_INPUT_IS_REVERSED 0 //[0:1] //-Set this to one for games using a reversed depth buffer.
#define RESHADE_DEPTH_INPUT_IS_LOGARITHMIC 0 //[0:1] //-Set this to one for games using a logarithmic depth buffer.



in Global.cfg test all option
The administrator has disabled public write access.
The following user(s) said Thank You: Kubo

Grand Theft Auto IV DOF problem [ReShade 2.0.3f1] 6 months 3 weeks ago #7

  • Kubo
  • Kubo's Avatar
  • Offline
  • Posts: 4
Ty, i'll try
The administrator has disabled public write access.

Grand Theft Auto IV DOF problem [ReShade 2.0.3f1] 3 months 1 week ago #8

you still having issues?
The administrator has disabled public write access.