Welcome, Guest.
Username: Password: Remember me

TOPIC: [SOLVED] ETS2 Invert DOF

ETS2 Invert DOF 1 year 1 week ago #1

Hi. I have a trouble with dof i.imgur.com/kYDK1oo.jpg This is real to invert dof by Y?
The administrator has disabled public write access.

ETS2 Invert DOF 1 year 1 week ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2453
  • Thank you received: 1393
There is no quick option to invert depth data vertically yet. But you can manually change the code to do it:
Open ReShade.fx and change the following line:
float depth = tex2D(RFX_depthColor, texcoord).x;
to this:
float depth = tex2D(RFX_depthColor, float2(texcoord.x, 1.0 - texcoord.y)).x;
Cheers, crosire =)
Last Edit: 1 year 1 week ago by crosire.
The administrator has disabled public write access.
The following user(s) said Thank You: fosty

ETS2 Invert DOF 1 year 1 week ago #3

Thank you so much!
The administrator has disabled public write access.