Add preprocessor definition "RESHADE_DEPTH_LINEARIZATION_NEAR_PLANE"

  • Pfoiffee
  • Topic Author
More
4 years 11 months ago - 4 years 11 months ago #1 by Pfoiffee Add preprocessor definition "RESHADE_DEPTH_LINEARIZATION_NEAR_PLANE" was created by Pfoiffee
Hey Crosire, I'm experiencing issues with Marty's MXAO shader in Crysis 1 (OG), and to possibly fix this, he suggests adding a "near" plane preprocessor definition to ReShade.

streamable.com/hjyjml



So, tell me of your thoughts about it here.
Last edit: 4 years 11 months ago by Pfoiffee.

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

  • crosire
More
4 years 11 months ago #2 by crosire Replied by crosire on topic Add preprocessor definition "RESHADE_DEPTH_LINEARIZATION_NEAR_PLANE"
ReShade.fxh has a line that says "const float N = 1.0;". Change that value to whatever you want the near plane to be at.

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.