Welcome, Guest.
Username: Password: Remember me

TOPIC: Depth Buffer Detection Modification

3.1 1 year 5 months ago #61

thalixte wrote:
conan2k wrote:
thalixte wrote:
B4rr3l wrote:
thalixte wrote:
Hi, do you know which version of directx the mod uses ?

DX9.0C

Ok, so that's what i said, my modifications do not apply to this directx version, sorry.

Would it be possible for you to port these modifications to DX9 in the foreseeable future? Lots of older but still nice games could benefit from MXAO and good DOF (Dishonored, Mass Effect 1-3, Fallout 3, XCOM 1-2, and many others).

Since i own Mass Effect 2, i could try if i find some times. I am still waiting for Crosire to approve my pull request or not on the Reshade's repo.

Are you sure Dishnonored is a DX 9 game ?

So, yes, Dishonored (the 1st one) is DX9-only. If you ever need help with testing, just let me know. I can test on these DX9-only games which lack the depth buffer access right now:
- Dishonored
- Divinity: Original Sin
- Fallout 3
- F.E.A.R. 2
- King's Bounty: Warriors of the North
- Mass Effect 1-3
- Pillars of Eternity
- Resident Evil 6
- The Witcher
- XCOM: Enemy Unknown

If needed, I can also test on a number of DX10 and 11 titles.

BTW, awesome work on DX11 modifications! Definitely most important advancement in ReShade since the release of v3.0 IMO.
The administrator has disabled public write access.
The following user(s) said Thank You: thalixte

3.1 1 year 5 months ago #62

@Crosire,

Is there something wrong with the pull request i made on reshade, or it is just you have't found some time to keep on reviewing it ? :)

By advance, thks
The administrator has disabled public write access.

3.1 1 year 5 months ago #63

thalixte wrote:
B4rr3l wrote:
thalixte wrote:
Hi, do you know which version of directx the mod uses ?

DX9.0C

Ok, so that's what i said, my modifications do not apply to this directx version, sorry.

Ok, that is sad news, thanks for all the attention.
The administrator has disabled public write access.

3.1 1 year 5 months ago #64

B4rr3l wrote:
thalixte wrote:
B4rr3l wrote:
thalixte wrote:
Hi, do you know which version of directx the mod uses ?

DX9.0C

Ok, so that's what i said, my modifications do not apply to this directx version, sorry.

Ok, that is sad news, thanks for all the attention.

I will try to make something, if i can. Test actually on Mass Effect 2. I managed to retrieve the depth buffer for it, but i still have some work for it to be used by the shaders...
Last Edit: 1 year 5 months ago by thalixte.
The administrator has disabled public write access.
The following user(s) said Thank You: Androll

3.1 1 year 5 months ago #65

is this added to the release, yet?

the DL links on previous pages dont work.
The administrator has disabled public write access.

3.1 1 year 5 months ago #66

didel23 wrote:
is this added to the release, yet?

the DL links on previous pages dont work.

Yes, they should work for dx11 games...
For dx9, i am working on it. Not sure i will manage to make it work for this version of directX, but i can see the depth buffer (Mass Effect 2):



Last Edit: 1 year 5 months ago by thalixte.
The administrator has disabled public write access.

3.1 1 year 5 months ago #67

No, i mean the links you posted for the dll are broken.
The administrator has disabled public write access.

3.1 1 year 5 months ago #68

didel23 wrote:
No, i mean the links you posted for the dll are broken.

Ok, maybe the key has been revoked.

So, here are the links:
Last Edit: 1 year 5 months ago by thalixte.
The administrator has disabled public write access.
The following user(s) said Thank You: Uncle Crassius, didel23

3.1 1 year 5 months ago #69

I really hope you update your copy soon with both the recent ReShade changes + the new DX11/10 and DX9 depth buffer detection.
Im totally hyped to compile that myself.
The administrator has disabled public write access.

3.1 1 year 5 months ago #70

So im trying to use MXAO with antialiasing in asseto corsa and no success.
It should be possible, right? or am i wasting my time?
Is there a way to know what type of depth buffer the game is using?
The administrator has disabled public write access.

3.1 1 year 5 months ago #71

didel23 wrote:
So im trying to use MXAO with antialiasing in asseto corsa and no success.
It should be possible, right? or am i wasting my time?
Is there a way to know what type of depth buffer the game is using?

Didn't test on Assetto Corsa. I now it works on Project Cars 2. Play with the depth buffer settings and see if there is a good combination for this specific game. One thing you should be aware of: Reshade disables automatically depth buffer if an online connexion is detected. Use the displaydepth shader to check if it works.
Last Edit: 1 year 5 months ago by thalixte.
The administrator has disabled public write access.

3.1 1 year 5 months ago #72

thalixte wrote:
didel23 wrote:
is this added to the release, yet?

the DL links on previous pages dont work.

Yes, they should work for dx11 games...
For dx9, i am working on it. Not sure i will manage to make it work for this version of directX, but i can see the depth buffer (Mass Effect 2):
]

That is good news!
Last Edit: 1 year 5 months ago by B4rr3l.
The administrator has disabled public write access.

3.1 1 year 5 months ago #73

thalixte wrote:
didel23 wrote:
So im trying to use MXAO with antialiasing in asseto corsa and no success.
It should be possible, right? or am i wasting my time?
Is there a way to know what type of depth buffer the game is using?

Didn't test on Assetto Corsa. I now it works on Project Cars 2. Play with the depth buffer settings and see if there is a good combination for this specific game. One thing you should be aware of: Reshade disables automatically depth buffer if an online connexion is detected. Use the displaydepth shader to check if it works.
Nope, doesnt work. i wasnt in multiplayer either.

gonna try other games with AA activated
Last Edit: 1 year 5 months ago by didel23.
The administrator has disabled public write access.

3.1 1 year 5 months ago #74

didel23 wrote:
thalixte wrote:
didel23 wrote:
So im trying to use MXAO with antialiasing in asseto corsa and no success.
It should be possible, right? or am i wasting my time?
Is there a way to know what type of depth buffer the game is using?

Didn't test on Assetto Corsa. I now it works on Project Cars 2. Play with the depth buffer settings and see if there is a good combination for this specific game. One thing you should be aware of: Reshade disables automatically depth buffer if an online connexion is detected. Use the displaydepth shader to check if it works.
Nope, doesnt work. i wasnt in multiplayer either.

gonna try other games with AA activated

Depth buffer cannot display when multi sampling AA is enabled in game.
I managed to display depth buffer with displaydepth shader in Assetto Corsa.

Here is my depth buffer detection settings in dxgi.ini:
[DEPTH_BUFFER_DETECTION]
DepthBufferRetrievalMode=1
DepthBufferClearingNumber=1
DepthBufferTextureFormat=0

Important: depth buffer is not reversed, so you have to set RESHADE_DEPTH_INPUT_IS_REVERSED=0 in dxgi.ini.
Last Edit: 1 year 5 months ago by thalixte.
The administrator has disabled public write access.

3.1 1 year 5 months ago #75

And what a about DX11-wrapped games? (see dgVoodoo2)
Last Edit: 1 year 5 months ago by lowenz.
The administrator has disabled public write access.

3.1 1 year 5 months ago #76

i probe it into dx9... still no progress in dx9 games but, Still to open blocked depth access with Gedosato cheat!



The administrator has disabled public write access.

3.1 1 year 5 months ago #77

Scorpio82CO wrote:
i probe it into dx9... still no progress in dx9 games but, Still to open blocked depth access with Gedosato cheat!

So, Depth buffer is available with GeDoSato ? Does it still necessary to try to enable it in DirectX 9 games with reshade ?
For the moment, i manage to make the depth buffer works in ME2, but unfortunately, it breaks the depth test in the final rendering stage.

Here are some examples of ME2 with MXAO debug mode:


Last Edit: 1 year 5 months ago by thalixte.
The administrator has disabled public write access.
The following user(s) said Thank You: Scorpio82CO

3.1 1 year 5 months ago #78

thalixte wrote:

So, Depth buffer is available with GeDoSato ? Does it still necessary to try to enable it in DirectX 9 games with reshade ?

If I remember correctly, GeDoSaTo tries to inject its own "baked" depth texture when the original depth texture is empty. The result doesn't look correct in many cases. So, yes, your depth buffer retrieval technique is much more promising and highly preferable over that.

If you are interested to look into it, here is the link to the source code of "GenericDepthPlugin" which GeDoSaTo uses to inject the depth texture:
Link
Last Edit: 1 year 5 months ago by conan2k.
The administrator has disabled public write access.
The following user(s) said Thank You: Scorpio82CO

3.1 1 year 5 months ago #79

I create a missunderstood, sorry... I mean with Gedosato gives me the depthbuffer, but I´m using the Reshade Depth Effects

Spec Ops: The Line dont´t have access to Depth Buffer with reshade



this is MXAO debug (sorry for the poor of the shader again.. I moved to the last effect in the chain effect)

Last Edit: 1 year 5 months ago by Scorpio82CO.
The administrator has disabled public write access.

3.1 1 year 5 months ago #80

conan2k wrote:
thalixte wrote:

So, Depth buffer is available with GeDoSato ? Does it still necessary to try to enable it in DirectX 9 games with reshade ?

If I remember correctly, GeDoSaTo tries to inject its own "baked" depth texture when the original depth texture is empty. The result doesn't look correct in many cases. So, yes, your depth buffer retrieval technique is much more promising and highly preferable over that.

If you are interested to look into it, here is the link to the source code of "GenericDepthPlugin" which GeDoSaTo uses to inject the depth texture:
Link

GeDoSaTo is what I used to use to inject AO in RE4 (dx9). Unfortunately it was extremely buggy and didn't work in most areas.
The administrator has disabled public write access.
The following user(s) said Thank You: Scorpio82CO