[SOLVED] ETS2 Invert DOF

  • Posts: 2
4 years 8 months ago #1 by fosty
Hi. I have a trouble with dof i.imgur.com/kYDK1oo.jpg This is real to invert dof by Y?

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

  • Posts: 3747
4 years 8 months ago - 4 years 8 months ago #2 by crosire
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;
The following user(s) said Thank You: fosty

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

  • Posts: 2
4 years 8 months ago #3 by fosty
Thank you so much!

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