Depth buffer detection modifications
- thalixte
- Topic Author
Northernpike wrote: Believe me, I have tried every possible combination of settings, the issue seems to be that the depth buffer detection isnĀ“t working correctly.
When you say that you tried every combination of settings, are you talking about the preprocessor definitions ? Don't forget that, when you have found the sweet post for depth buffer settings with the DisplayDepth shader, you have next to set the preprocessor definitions accordingly in order for the other shaders to work correctly (qUInt, or MXAO, for instance)...
To illustrate this, in the Left4Dead2 settings i have mentioned above, you have to set the preprocessor definitions like this:
PreprocessorDefinitions=RESHADE_DEPTH_LINEARIZATION_FAR_PLANE=1000.0,RESHADE_DEPTH_INPUT_IS_UPSIDE_DOWN=0,RESHADE_DEPTH_INPUT_IS_REVERSED=0,RESHADE_DEPTH_INPUT_IS_LOGARITHMIC=0
because i have those settings with the DisplayDepth shader:
[DisplayDepth.fx]
bUIUsePreprocessorDefs=0
fUIFarPlane=1000.000000
iUIUpsideDown=0
iUIReversed=0
iUILogarithmic=0
iUIPresentType=1
Daodan's thread is very usefull for this:
reshade.me/forum/shader-discussion/4810-...s-in-displaydepth-fx
And the great Durante Thread (there should be a link to it in the main Reshade web site):
reshade.me/forum/troubleshooting/5227-ea...-deal-troubles-again
- Northernpike
- Pat_s2
- Scorpio82CO
- lowenz
- Laq776
i have searched most of the thread but I haven't found any info regarding Dishonored 2?
I have tried some of the .dlls you have posted, tried various different settings combinations but nothing seems to work, it looks like reshade is choosing the UI/HUD depth buffer.
- Scorpio82CO
- thalixte
- Topic Author
Laq776 wrote: Hey, awesome work!
i have searched most of the thread but I haven't found any info regarding Dishonored 2?
I have tried some of the .dlls you have posted, tried various different settings combinations but nothing seems to work, it looks like reshade is choosing the UI/HUD depth buffer.
Have you checked that MSAA is inactive ?
- Laq776
Yes, the game supports only FXAA (two presets) and TXAA 1x. Toggling them does not seem to change anything.
I have also found some info while searching this forum for solutions, I am just confirming it here by testing it myself:
Normally In-game reshade chooses the depth buffer used for the HUD elements: i.imgur.com/EJsQsA8.png
But when you press ESC to go into the pause menu the HUD is briefly not rendered, for this small period of time Reshade shows the correct Depth Buffer like so:
i.imgur.com/cIAYnyE.png and i.imgur.com/R3xUaPc.png
(same thing when going back from the pause menu to the game.)
Also, when using NVIDIA ANSEL, the HUD is not rendered and again Reshade uses the correct buffer: i.imgur.com/F4czxnZ.png
(No First Person model because Ansel hides it.)
- thalixte
- Topic Author
Laq776 wrote: Thank you for the reply.
Yes, the game supports only FXAA (two presets) and TXAA 1x. Toggling them does not seem to change anything.
I have also found some info while searching this forum for solutions, I am just confirming it here by testing it myself:
Normally In-game reshade chooses the depth buffer used for the HUD elements: i.imgur.com/EJsQsA8.png
But when you press ESC to go into the pause menu the HUD is briefly not rendered, for this small period of time Reshade shows the correct Depth Buffer like so:
i.imgur.com/cIAYnyE.png and i.imgur.com/R3xUaPc.png
(same thing when going back from the pause menu to the game.)
Also, when using NVIDIA ANSEL, the HUD is not rendered and again Reshade uses the correct buffer: i.imgur.com/F4czxnZ.png
(No First Person model because Ansel hides it.)
Can you please show me a screen of your DX11 tab settings ?
- Laq776
Here it is: i.imgur.com/RTgS74m.png
I have tried some of the options and it looks like this works... Was I supposed to do this?
i.imgur.com/r3hmqqE.png (1 looks like this but half-res, 3-5 look identical to 2 but mxao does not seem to work, 6 is the HUD... I think, I am sorry if this is wrong)
I have tried MXAO with the above buffer selected, raised far plane distance to 10000 because it seemed to shade only the hands and the immediate vicinity, but this is the best I could come up with: i.imgur.com/3I646wI.png
It's very stripe-y and jittery ingame
- Uncle Crassius
- Laq776
When Ansel hides the HUD or for the brief moment it is not rendered when entering/exiting pause, then Reshade uses the correct DB (I guess, it looks correct)
So I disabled every HUD option available and it does not seem to help, if I use the default Depth Buffer the screen is simply black with DisplayDepth (or white with MXAO)
- thalixte
- Topic Author
Laq776 wrote: Of course, thank you again
Here it is: i.imgur.com/RTgS74m.png
I have tried some of the options and it looks like this works... Was I supposed to do this?
i.imgur.com/r3hmqqE.png (1 looks like this but half-res, 3-5 look identical to 2 but mxao does not seem to work, 6 is the HUD... I think, I am sorry if this is wrong)
I have tried MXAO with the above buffer selected, raised far plane distance to 10000 because it seemed to shade only the hands and the immediate vicinity, but this is the best I could come up with: i.imgur.com/3I646wI.png
It's very stripe-y and jittery ingame
With this settings:
you have the right depth buffer. There is no need to remove the UI.
In order for MXAO to work properly, you have to set the preprocessor options accordingly to the displaydepth settings.
- MokouPrice
- x8009
Laq776 wrote: Hey, awesome work!
i have searched most of the thread but I haven't found any info regarding Dishonored 2?
I have tried some of the .dlls you have posted, tried various different settings combinations but nothing seems to work, it looks like reshade is choosing the UI/HUD depth buffer.
For me Dishonored - Death of the Outsider works which didn't work till now 4.3 , you really need to expand it and pick the right shader
cdn.discordapp.com/attachments/458063532...9-06-05_15-12-52.png
- Laitauriz
When you play in dx9 mode everything is fine, but when you are in dx10 or dx11 mode, mxao and RT produce a lot of ghosting. It's not usual ghosting like in other games, i am pretty sure it has something to do with depth buffer. Can you investigate it ? The only way i found is to reduce the amount of the effects, but i was wondering if you could do something. Thank you.
- Pat_s2
- onestalkyboi
Yes! Please do S.T.A.L.K.E.R!Laitauriz wrote: Hi thalixte. i was playing with MXAO and the new RT shader in Stalker Clear SKy and Call of Prypiat and noticed a thing .
When you play in dx9 mode everything is fine, but when you are in dx10 or dx11 mode, mxao and RT produce a lot of ghosting. It's not usual ghosting like in other games, i am pretty sure it has something to do with depth buffer. Can you investigate it ? The only way i found is to reduce the amount of the effects, but i was wondering if you could do something. Thank you.
- Siridon