[SOLVED] ETS2 Invert DOF

  • fosty
  • Topic Author
More
8 years 4 months ago #1 by fosty ETS2 Invert DOF was created 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.

  • crosire
More
8 years 4 months ago - 8 years 4 months ago #2 by crosire Replied by crosire on topic ETS2 Invert DOF
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;
Last edit: 8 years 4 months ago by crosire.
The following user(s) said Thank You: fosty

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

  • fosty
  • Topic Author
More
8 years 4 months ago #3 by fosty Replied by fosty on topic ETS2 Invert DOF
Thank you so much!

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.