- Posts: 5
- Forum
- Shaders & Effects
- Discussion
- Add preprocessor definition "RESHADE_DEPTH_LINEARIZATION_NEAR_PLANE"
Add preprocessor definition "RESHADE_DEPTH_LINEARIZATION_NEAR_PLANE"
- Pfoiffee
-
Topic Author
- Offline
Less More
4 months 6 days ago - 4 months 6 days 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.
streamable.com/hjyjml
So, tell me of your thoughts about it here.
Last edit: 4 months 6 days ago by Pfoiffee.
Please Log in or Create an account to join the conversation.
- crosire
-
- Offline
Less More
- Posts: 3854
4 months 6 days 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.