Home
Forum
Back
Index
New Topic
Search
Wiki
Discord
Presets
Guides
Back
Setting up ReShade
ReShade GUI
Setting up Windows file permissions
Using ReShade with DXVK/...
List of shaders and what they do
Shader Guides
Add-on Guides
Log in
Forum
Shaders & Effects
Discussion
Add preprocessor definition "RESHADE_DEPTH_LINEARIZATION_NEAR_PLANE"
Add preprocessor definition "RESHADE_DEPTH_LINEARIZATION_NEAR_PLANE"
Start
Prev
1
Next
End
1
Pfoiffee
Topic Author
Less
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.
Action
crosire
Less
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.
Action
Start
Prev
1
Next
End
1
Forum
Shaders & Effects
Discussion
Add preprocessor definition "RESHADE_DEPTH_LINEARIZATION_NEAR_PLANE"
Powered by
Kunena Forum