Depth buffer detection modifications
- Niko of Death
Ah, I've been naming the dll dxgi, why should it be d3d11 instead?thalixte wrote: Thks a lot for taking the time to test. Is it possible for you to test those games with my previous dll (the one where the effects recompile when switching the depth buffer) ?
EDIT:
@Niko of Death, this dx12 version should fix your bug (stupid mistake i made ):
d3d12_64bits.zip mega.nz/#!69JjXaRQ!aLcryIisHJhVCc8rozPbhJcLP0LULpac_Qm-GzaFUcU
Be sure to name the dll d3d11.dll, and check if there is no dxgi.dll present in the same folder.
- thalixte
- Topic Author
- Niko of Death
Tested with dxgi (d3d11 didn't hook for me) on HITMAN 2, seems to be working properly now. I will note that having reflections on low causes the depth buffer to be messed up whenever a reflection is being rendered, where the depth buffer is both garbled and what is visible is of the reflection depth buffer, but this is presumably an issue with the way reflections (specifically sub-native reflections) are rendered in the game, not your work.thalixte wrote: Don't know why, but i have instabilities when naming the dll dxgi.dll, which seem to be related to the dxgiswapchain initialization. No problem when naming the dll d3d11.dll. Have you tested my last one ?
- thalixte
- Topic Author
- x8009
Devil may cry 5
mega.nz/#!jlYUmaJK!KRTD2P2ILdR5TpqhuRdf0hVU-hvhxG98k-lFO3zEgh8 4.3.1.116 no view depth but no reshade reload depth buffer switching
mega.nz/#!jlYUmaJK!KRTD2P2ILdR5TpqhuRdf0hVU-hvhxG98k-lFO3zEgh8 4.3.0.241 View depth but reshade reloading every depth buffer switching
- thalixte
- Topic Author
mega.nz/#!69JjXaRQ!aLcryIisHJhVCc8rozPbhJcLP0LULpac_Qm-GzaFUcU ?
- x8009
thalixte wrote: With this new dll, Devil may Cry 5 depthbuffer autodetection works perfectly on my rig (i meanly tested it on this game). Can you upload a video, please ? Also, have you tested the very last dll i sent:
mega.nz/#!69JjXaRQ!aLcryIisHJhVCc8rozPbhJcLP0LULpac_Qm-GzaFUcU ?
yes, it works with this DLL! I cancelled all the copy and other marks.
Do you still need a video for the other DLL?
- Niko of Death
I have encountered this issue in both Journey and Flower, so I assume this has something to do with the engine (PhyreEngine, specifically ThatGameCompany's version).thalixte wrote:
iTest wrote: Is it possible to fix it somehow?
It reminds me of the pb of the depth buffer shift in "A Plague Tales Innocence". In this particular game, you have to remove the chromatic aberration.
Does Journey have such a graphic option ?
Here's a collection of before/after displaydepth shots (using the before/after screenshot feature) from Flower:a imgur.com/a/goXoWJi
I will note that I tried every possible depth buffer (including every copy possible), and even tried with MSAA on (where I can get a depth buffer, but a misaligned one like usual).
- thalixte
- Topic Author
x8009 wrote:
thalixte wrote: With this new dll, Devil may Cry 5 depthbuffer autodetection works perfectly on my rig (i meanly tested it on this game). Can you upload a video, please ? Also, have you tested the very last dll i sent:
mega.nz/#!69JjXaRQ!aLcryIisHJhVCc8rozPbhJcLP0LULpac_Qm-GzaFUcU ?
yes, it works with this DLL! I cancelled all the copy and other marks.
Do you still need a video for the other DLL?
No, it's not necessary. Yes, it is a good practice to remove the DX12_DEPTH_BUFFER_DETECTION section from the Reshade.ini each time we test a new dll
- Zireael
- Uncle Crassius
Zireael wrote: Could you look into Bad Company 2? Only the first person weapon/hands show up in depth buffer.
IIRC the solution was to turn off ingame AO..
- Insomnia
Any plans in the future to modify depth detection for OpenGL?
Thank you!
- x8009
using the latest DLL version 167
examples here
Correct
Not correct letting auto-detect when close to a wall
Video
Happens after loading - the depth view froze and nothing moving
when selecting the right depth buffer
- themaxmeister
Is someone knowledgeable would like to give it a try, but doesn't have the game, I'd be willing to gift them a key.
- jas01
- thalixte
- Topic Author
Can you please test this one ? I know the depth buffer detection does not work on Doom or Rage 2, but it works on No Man's Sky vulkan experimental branch, and i would like to know if it works on other vulkan games.
Reshade setup.zip.zip | [strike] mega.nz/#!jpAkSA5B!uA-Ood8LzwsWzEjt-L7sluHMAotwFtEcgs8D2LChxCY [/strike] |
To test it, you have to use the Reshade installer, which will create a .bat file in the game folder. In order for Reshade to work with the vulkan API, you have to launch the game with this created batch file.
- JBeckman
Hmm wonder if that's going to work on Youngblood and interesting to hear that it hit issues with DOOM on SDK 1.0 and Rage 2 which should be using 1.1 so I guess there are still some potential problems with compatibility and it's not just down to the version used by the game itself or having a newer Vulkan SDK for ReShade.
Was hoping to test VLK compatibility after seeing it landing in several of the newer commits, would be fun if it worked but I suppose there are still a ways to go before it's fully there and with these API's I suppose it could have other potential issues as well depending on both how the game is doing some things and maybe even drivers and whatever AMD and NVIDIA are doing in regards to features, extensions and what not kinda like but not entirely comparable to OpenGL.
EDIT: And if injection doesn't work then maybe proxy would though I suppose that's what the JSON file is for and this layers business.
Interesting.
EDIT: Yep that's from the JSON file, I see.
EDIT: Aha so it's from the depth buffer then, learned something new then.
- thalixte
- Topic Author
- JBeckman
Gives some insight into the commits for VLK depth buffer detection too and the work involved in getting this set up.
EDIT: Hmm wonder if getting more logging details would be useful but eh I suppose it's going to vary from game to game how well the current code works and what is going to be needed to resolve some of these issues, going to be fun when it's all in place but it's interesting to see these current builds and the work that goes into getting this functional too.
- Niko of Death
thalixte wrote: Nowadays, i cannot spend too much times on Reshade, but i advance in the vulkan depth buffer detection.
Can you please test this one ? I know the depth buffer detection does not work on Doom or Rage 2, but it works on No Man's Sky vulkan experimental branch, and i would like to know if it works on other vulkan games.
Reshade setup.zip.zip mega.nz/#!jpAkSA5B!uA-Ood8LzwsWzEjt-L7sluHMAotwFtEcgs8D2LChxCY
To test it, you have to use the Reshade installer, which will create a .bat file in the game folder. In order for Reshade to work with the vulkan API, you have to launch the game with this created batch file.
Using this build or build from your latest commits, I get a reshade64.log but no UI, I've tried disabling driver enhancements and RTSS hooks, still nothing, any ideas?