Depth buffer detection modifications

  • thalixte
  • Topic Author
More
6 years 3 months ago #881 by thalixte Replied by thalixte on topic Depth buffer detection modifications

WSH303 wrote: Hello, I have a question about source engine based game Vindictus. Depth buffer detection works fine in main menu, but in game it turns in something like this:



Its a mmorpg, so it may be network issue, but something is being displayed, which is strange, I think if everything was ok, then nothing or everything should be displayed.


Yes, it is strange. Normally nothing should be displayed when online. Did you use the last Reshade release ?
The topic has been locked.
  • WSH303
More
6 years 3 months ago #882 by WSH303 Replied by WSH303 on topic Depth buffer detection modifications
I used the latest version from your post:
reshade.me/forum/general-discussion/4083...tion?start=860#34097
The topic has been locked.
  • Exchy
More
6 years 3 months ago #883 by Exchy Replied by Exchy on topic Depth buffer detection modifications
So, i'm here about Left 4 dead 2, thanks
The topic has been locked.
  • Pat_s2
More
6 years 3 months ago - 6 years 3 months ago #884 by Pat_s2 Replied by Pat_s2 on topic Depth buffer detection modifications
Guildwars and GTA 5 are online games and the depth buffer works for them so idk. I find that if you change the resolution after testing various buffer options that sometimes online games will show the buffer.
Last edit: 6 years 3 months ago by Pat_s2.
The topic has been locked.
  • thalixte
  • Topic Author
More
6 years 3 months ago - 6 years 3 months ago #885 by thalixte Replied by thalixte on topic Depth buffer detection modifications

Exchy wrote: So, i'm here about Left 4 dead 2, thanks


Here are my settings for Left For Dead 2:

[img

[img

[DX9_BUFFER_DETECTION]
DisableINTZ=0
PreserveDepthBuffer=1
PreserveDepthBufferIndex=0
AutoPreserve=1
FocusOnBestOriginalDepthstencilSource=0
SourceEngineFix=1
BruteForceFix=0

Use my last dll:
d3d9_32bits.zip
Last edit: 6 years 3 months ago by thalixte.
The topic has been locked.
  • Chavolatra
More
6 years 3 months ago #886 by Chavolatra Replied by Chavolatra on topic Depth buffer detection modifications
i can still hope in depth buffer work fine , if MSAA turn on in games someday ?
The topic has been locked.
  • thalixte
  • Topic Author
More
6 years 3 months ago #887 by thalixte Replied by thalixte on topic Depth buffer detection modifications

Chavolatra wrote: i can still hope in depth buffer work fine , if MSAA turn on in games someday ?


No, not for the moment, sorry...
The topic has been locked.
  • Chavolatra
More
6 years 3 months ago #888 by Chavolatra Replied by Chavolatra on topic Depth buffer detection modifications
so it is possible ? i wait for this with a lot of joy =)

much thank for you job
The topic has been locked.
  • Exchy
More
6 years 3 months ago - 6 years 3 months ago #889 by Exchy Replied by Exchy on topic Depth buffer detection modifications
[strike]About l4d2, whenever I turn on a fix for source, my game goes full black screen. It disappears instantly when I turn it off. Wait that guy above said something about AA interference, does it have to do something with l4d2?[/strike]
Solved with AA disabling. Something messing with the in-game sound, half of shots are none
Last edit: 6 years 3 months ago by Exchy.
The topic has been locked.
  • thalixte
  • Topic Author
More
6 years 3 months ago - 6 years 3 months ago #890 by thalixte Replied by thalixte on topic Depth buffer detection modifications

Chavolatra wrote: so it is possible ? i wait for this with a lot of joy =)

much thank for you job


No, i do not think it is possible. Maybe for dx10 or dx11, but not sure at all... :(
Last edit: 6 years 3 months ago by thalixte.
The topic has been locked.
  • Pat_s2
More
6 years 3 months ago - 6 years 3 months ago #891 by Pat_s2 Replied by Pat_s2 on topic Depth buffer detection modifications
thalixte did you see this? Cemu+raytracing . I got it working by changing from fullscreen to windowed a few times but its random. its kinda not worth messing with tbh.
Last edit: 6 years 3 months ago by Pat_s2.
The topic has been locked.
  • Northernpike
More
6 years 3 months ago #892 by Northernpike Replied by Northernpike on topic Depth buffer detection modifications
Witcher 2 only seems to have access to the Normals but not the depth buffer :( Any ideas on how to fix this?
The topic has been locked.
  • lowenz
More
6 years 3 months ago #893 by lowenz Replied by lowenz on topic Depth buffer detection modifications
Maybe check the far plane value....
The topic has been locked.
  • Northernpike
More
6 years 3 months ago #894 by Northernpike Replied by Northernpike on topic Depth buffer detection modifications
That did seem to help, thanks! Although the depth seems rather weak (had it set to about 50, lower values wash it out even more)
The topic has been locked.
  • Northernpike
More
6 years 3 months ago #895 by Northernpike Replied by Northernpike on topic Depth buffer detection modifications
With this setting however, no depth based shaders seem to work, such as MXAO and Mcfly´s RT shader, I´ve tried multiple Far plane and depth input combinations, but so far no luck.... :(
The topic has been locked.
  • Pat_s2
More
6 years 3 months ago #896 by Pat_s2 Replied by Pat_s2 on topic Depth buffer detection modifications
what seems to be the problem? nothing happens when you turn either on or off?
The topic has been locked.
  • Northernpike
More
6 years 3 months ago #897 by Northernpike Replied by Northernpike on topic Depth buffer detection modifications
You mean the aforementioned shaders? well do do show up, but they just dont work as they´re supposed to

MXAO
The topic has been locked.
  • Northernpike
More
6 years 3 months ago #898 by Northernpike Replied by Northernpike on topic Depth buffer detection modifications
Believe me, I have tried every possible combination of settings, the issue seems to be that the depth buffer detection isn´t working correctly.
The topic has been locked.
  • Uncle Crassius
More
6 years 3 months ago - 6 years 3 months ago #899 by Uncle Crassius Replied by Uncle Crassius on topic Depth buffer detection modifications

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.


Well, the debug output shows something so it's working at least partially. So, when you change nothing else now but DEPTH_BUFFER_INPUT_REVERSED, what does MXAO's debug output look like?
Last edit: 6 years 3 months ago by Uncle Crassius.
The topic has been locked.
  • thalixte
  • Topic Author
More
6 years 3 months ago - 6 years 3 months ago #900 by thalixte Replied by thalixte on topic Depth buffer detection modifications

Pat_s2 wrote: thalixte did you see this? Cemu+raytracing . I got it working by changing from fullscreen to windowed a few times but its random. its kinda not worth messing with tbh.


Reshade have a direct access to the CEMU depth buffer (opengl).
Maybe graphic packs can cause troubles with the db detection (or the cinematics, do not know).

[img


It works with those settings:
PreprocessorDefinitions=RESHADE_DEPTH_LINEARIZATION_FAR_PLANE=1000.0,RESHADE_DEPTH_INPUT_IS_UPSIDE_DOWN=1,RESHADE_DEPTH_INPUT_IS_REVERSED=0,RESHADE_DEPTH_INPUT_IS_LOGARITHMIC=0
[DisplayDepth.fx]
bUIUsePreprocessorDefs=0
fUIFarPlane=1000.000000
iUIUpsideDown=1
iUIReversed=1
iUILogarithmic=0
iUIPresentType=1
Last edit: 6 years 3 months ago by thalixte.
The topic has been locked.