Welcome, Guest.
Username: Password: Remember me

TOPIC: Depth Buffer Detection Modification

3.1 1 year 7 months ago #41

robgrab wrote:
Wow, thanks! Besides the Bioshock games I’d love to see Resident Evil 4 get depth buffer access. You used to be able to fake it using GeDoSaTo but it was very hit and miss.

COMPARISON

thalixte wrote:
The problem is, this texture alternates with blank ones, and i do not see the difference in the texture descriptions between the good one and the blank one.
Will further investigate when i have some times...
Not understanding how this works would it be possible to skip that "blank" frame and replace it with a duplicate of the good frame? Like frame interpolation.

This might not affect it but I know that sometimes the HUD can also cause interference. For Bioshock 2 Remastered the HUD can be disabled by selecting the game in Steam by selecting Properties and under Set Launch Options type -allowconsole
The console command in game is togglehud
I know that sometimes HUDs can interfere with the depth buffer. For instance in System Shock 2 whenever you draw your weapon it screws it up. Here is what I mean.

Cool for Resident Evil 4 !

I am sorry, because i have not too much time now to spend on Reshade. I have just enabled the specific format of Bioshosck2's depth buffer (which seems to be a D3D11_BIND_SHADER_RESOURCE).

I give you the link here, to make you see the problem with this game engine: dxgi.zip

here are the settings in the dxgi.ini:
[DEPTH_BUFFER_DETECTION]
DepthBufferRetrievalMode=1
DepthBufferTextureFormat=0
DepthBufferClearingNumber=0
DepthBufferTextureType=0

I checked by disabing the HUD, but same result :(
Last Edit: 1 year 7 months ago by thalixte.
The administrator has disabled public write access.

3.1 1 year 7 months ago #42

It sounds like you're busy and I apologize for the inconvenience but it didn't work for me. I tried your settings with the new dxgi.dll but all I see is a white screen. I disabled Antialiasing in-game and tried changing the Near and Far Blur values but nothing. How do I get it to look like the depth buffer image you posted? What am I missing? Thank you in advance.
Last Edit: 1 year 7 months ago by robgrab.
The administrator has disabled public write access.

3.1 1 year 7 months ago #43

robgrab wrote:
It sounds like you're busy and I apologize for the inconvenience but it didn't work for me. I tried your settings with the new dxgi.dll but all I see is a white screen. I disabled Antialiasing in-game and tried changing the Near and Far Blur values but nothing. How do I get it to look like the depth buffer image you posted? What am I missing? Thank you in advance.

I remember i have changed the depth reverse mode in the settings. Later i will send to you my dxgi.ini file...

EDIT:

Now, it seems to work. Can you test this dll: dxgi_32bits.zip ?
This one should work with Bioshock2 remastered (it works on my rig). If the depth buffer doesn't display, don't forget to play with RESHADE_DEPTH_INPUT_IS_REVERSED var, as in the last version of Reshade, this setting is 1 by default.


The 64bits version (maybe will work with Deux Ex Mankind, haven't tested it yet): dxgi_64bits.zip

Edit:
It works well with Deus Ex Mankind, but in "post processing" retrieval mode only.
Last Edit: 1 year 7 months ago by thalixte.
The administrator has disabled public write access.

3.1 1 year 7 months ago #44

thalixte wrote:
EDIT:

Now, it seems to work. Can you test this dll: dxgi_32bits.zip ?
This one should work with Bioshock2 remastered (it works on my rig). If the depth buffer doesn't display, don't forget to play with RESHADE_DEPTH_INPUT_IS_REVERSED var, as in the last version of Reshade, this setting is 1 by default.

The 64bits version (maybe will work with Deux Ex Mankind, haven't tested it yet): dxgi_64bits.zip

WOW! It works beautifully! I haven't encountered any issues yet. Thank you SO MUCH!!! I've always dreamed about getting depth buffer access in the Bioshock games. This new method you've discovered is a real game changer for Reshade. Brilliant!!!

CLICK ME FOR COMPARISON

Depth Mask
Warning: Spoiler! [ Click to expand ]


MXAO
Warning: Spoiler! [ Click to expand ]
Last Edit: 1 year 7 months ago by robgrab.
The administrator has disabled public write access.

3.1 1 year 7 months ago #45

robgrab wrote:
thalixte wrote:
EDIT:

Now, it seems to work. Can you test this dll: dxgi_32bits.zip ?
This one should work with Bioshock2 remastered (it works on my rig). If the depth buffer doesn't display, don't forget to play with RESHADE_DEPTH_INPUT_IS_REVERSED var, as in the last version of Reshade, this setting is 1 by default.

The 64bits version (maybe will work with Deux Ex Mankind, haven't tested it yet): dxgi_64bits.zip

WOW! It works beautifully! I haven't encountered any issues yet. Thank you SO MUCH!!! I've always dreamed about getting depth buffer access in the Bioshock games. This new method you've discovered is a real game changer for Reshade. Brilliant!!!

CLICK ME FOR COMPARISON
That's amazing! Thank you thalixte!

Robgrab, some beauty shots with MXAO please, and then share your settings :) I thnk it's time to revisit this amazing world with Reshade cranked up to full-retard/all the way to 11!
Last Edit: 1 year 7 months ago by Martigen.
The administrator has disabled public write access.

3.1 1 year 7 months ago #46

Martigen wrote:
That's amazing! Thank you thalixte!

Robgrab, some beauty shots with MXAO please, and then share your settings :) I thnk it's time to revisit this amazing world with Reshade cranked up to full-retard/all the way to 11!

I'm reluctant to release a preset for something that's not officially released yet since I'm essentially "beta testing." I'll release my preset once this feature gets included as part of Reshade. In the meantime I'll keep tweaking my settings until I get it exactly where I want it. The Remastered versions of Bioshock already added a bunch of visual improvements with lighting and texture upgrades but being able to add AO and DoF is truly the cherry on top. I'll try to take more screenshots tonight.
Last Edit: 1 year 7 months ago by robgrab.
The administrator has disabled public write access.

3.1 1 year 7 months ago #47

robgrab wrote:
Martigen wrote:
That's amazing! Thank you thalixte!

Robgrab, some beauty shots with MXAO please, and then share your settings :) I thnk it's time to revisit this amazing world with Reshade cranked up to full-retard/all the way to 11!

I'm reluctant to release a preset for something that's not officially released yet since I'm essentially "beta testing." I'll release my preset once this feature gets included as part of Reshade. In the meantime I'll keep tweaking my settings until I get it exactly where I want it. The Remastered versions of Bioshock already added a bunch of visual improvements with lighting and texture upgrades but being able to add AO and DoF is truly the cherry on top. I'll try to take more screenshots tonight.

Glad it works now :) Just a question: have you tested previous versions of reshade to know if it worked before the 3.1.x version ?
The administrator has disabled public write access.
The following user(s) said Thank You: Zarathustra

3.1 1 year 7 months ago #48

Yes, I have. The original Bioshock 1 and 2 never had depth buffer access going all the way back to the first release of Reshade. When the Remastered versions came out, and switched to DX11, nothing changed. I've been waiting a long time for this day to come and it's finally happened! This is (personally) the biggest thing to happen to Reshade since Marty released MXAO. The future looks very bright indeed. :)
Last Edit: 1 year 7 months ago by robgrab.
The administrator has disabled public write access.

3.1 1 year 7 months ago #49

HERE are some new screens of Bioshock 2 Remastered. The added DoF really gives some much needed separation between characters and environment.
Last Edit: 1 year 7 months ago by robgrab.
The administrator has disabled public write access.

3.1 1 year 7 months ago #50

@Martigen, thks again for your fantastic MXAO shader :) . Have you tested the 64bits version of the dll i posted here with Elex ?
Last Edit: 1 year 7 months ago by thalixte.
The administrator has disabled public write access.

3.1 1 year 7 months ago #51

thalixte wrote:
@Martigen, thks again for your fantastic MXAO shader :) . Have you tested the 64bits version of the dll i posted here with Elex ?

hey buddy I beg you to add support for BF2 DOF, I'm the developer of the BFHD PRO2 which is a remaster of BF2, I would love to have MXAO and DOF in this game and I know it has full z-buffer support. pleaaaaase!

www.moddb.com/mods/battlefield-hd-remastered-3

www.facebook.com/BFHDPRO/
The administrator has disabled public write access.

3.1 1 year 7 months ago #52

B4rr3l wrote:
thalixte wrote:
@Martigen, thks again for your fantastic MXAO shader :) . Have you tested the 64bits version of the dll i posted here with Elex ?

hey buddy I beg you to add support for BF2 DOF, I'm the developer of the BFHD PRO2 which is a remaster of BF2, I would love to have MXAO and DOF in this game and I know it has full z-buffer support. pleaaaaase!

www.moddb.com/mods/battlefield-hd-remastered-3

www.facebook.com/BFHDPRO/

Hi ! There are two problems for BF2. Firstly, the directx version the game uses. My modifs only impact dx11 games for the moment. Secondly, reshade disables z-buffer for online games, and as far as i understand, it is a Crosire's decision to prevent hacking in multiplayer games. Look at the recent PUBG boycott of Reshade.
Last Edit: 1 year 7 months ago by thalixte.
The administrator has disabled public write access.
The following user(s) said Thank You: B4rr3l

3.1 1 year 7 months ago #53

HERE are a few videos I uploaded of Bioshock 2 Remastered using thalixte's experimental DX11.dll
Last Edit: 1 year 7 months ago by robgrab.
The administrator has disabled public write access.

3.1 1 year 7 months ago #54

thalixte wrote:
B4rr3l wrote:
thalixte wrote:
@Martigen, thks again for your fantastic MXAO shader :) . Have you tested the 64bits version of the dll i posted here with Elex ?

hey buddy I beg you to add support for BF2 DOF, I'm the developer of the BFHD PRO2 which is a remaster of BF2, I would love to have MXAO and DOF in this game and I know it has full z-buffer support. pleaaaaase!

www.moddb.com/mods/battlefield-hd-remastered-3

www.facebook.com/BFHDPRO/

thanks for the repply! I run my own BFHD server if that helps in some sort of way, I don't really care if it can be exploited, if it works at least. Please let me know if you are able to realize this amazing improvement over my project, I've been dreaming on using the DOF and MXAO since the first day I started this project 3 years ago.

Hi ! There are two problems for BF2. Firstly, the directx version the game uses. My modifs only impact dx11 games for the moment. Secondly, reshade disables z-buffer for online games, and as far as i understand, it is a Crosire's decision to prevent hacking in multiplayer games. Look at the recent PUBG boycott of Reshade.
The administrator has disabled public write access.

3.1 1 year 7 months ago #55

B4rr3l wrote:
thalixte wrote:
B4rr3l wrote:
thalixte wrote:
@Martigen, thks again for your fantastic MXAO shader :) . Have you tested the 64bits version of the dll i posted here with Elex ?

hey buddy I beg you to add support for BF2 DOF, I'm the developer of the BFHD PRO2 which is a remaster of BF2, I would love to have MXAO and DOF in this game and I know it has full z-buffer support. pleaaaaase!

www.moddb.com/mods/battlefield-hd-remastered-3

www.facebook.com/BFHDPRO/

thanks for the repply! I run my own BFHD server if that helps in some sort of way, I don't really care if it can be exploited, if it works at least. Please let me know if you are able to realize this amazing improvement over my project, I've been dreaming on using the DOF and MXAO since the first day I started this project 3 years ago.

Hi ! There are two problems for BF2. Firstly, the directx version the game uses. My modifs only impact dx11 games for the moment. Secondly, reshade disables z-buffer for online games, and as far as i understand, it is a Crosire's decision to prevent hacking in multiplayer games. Look at the recent PUBG boycott of Reshade.

Hi, do you know which version of directx the mod uses ?
The administrator has disabled public write access.

3.1 1 year 7 months ago #56

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

DX9.0C
The administrator has disabled public write access.

3.1 1 year 7 months ago #57

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.
Last Edit: 1 year 7 months ago by thalixte.
The administrator has disabled public write access.

3.1 1 year 7 months ago #58

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).
The administrator has disabled public write access.
The following user(s) said Thank You: B4rr3l

3.1 1 year 7 months ago #59

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 Dishonored is a DX 9 game ?
Last Edit: 1 year 7 months ago by thalixte.
The administrator has disabled public write access.
The following user(s) said Thank You: Androll

3.1 1 year 7 months ago #60

Dishonored *1* is a D3D9 game.
The administrator has disabled public write access.