[PUBG] DepthBuffer is not always available ingame

  • Posts: 2
2 years 4 months ago #1 by wawan
Hey,

I´m using the depth buffer. For sure it works well on home screen. But while i´m ingame, the depth buffer is available only some times. Randomly.
Here is a part of the code :
float depth = tex2D(ReShade::DepthBuffer, texcoord).r * 100.0;
I multiply it by 100.0 for the rendering, then i use this value for the gl_FragColor. Is there any known issues with this game ?

Please Log in or Create an account to join the conversation.

  • Posts: 3638
2 years 4 months ago #2 by crosire
It's automatically disabled to prevent cheating (seeing through smoke etc.).
The following user(s) said Thank You: wawan

Please Log in or Create an account to join the conversation.

  • Posts: 2
2 years 4 months ago #3 by wawan
Ok, automatically disabled by pubg or reshade ?

Thanks ;)

Please Log in or Create an account to join the conversation.

  • Posts: 1225
2 years 4 months ago #4 by Marty McFly
It's disabled by ReShade itself. ReShade is whitelisted by almost all anticheats, most likely because of this behaviour. There are custom ReShade builds where this cheat prevention is disabled but obviously these DLL's have different signatures and aren't whitelisted afaik.

Please Log in or Create an account to join the conversation.

  • Posts: 290
2 years 4 months ago - 2 years 4 months ago #5 by Aelius Maximus
-

Please Log in or Create an account to join the conversation.

  • Posts: 97
2 years 4 months ago #6 by Zireael

Aelius Maximus wrote:

Marty McFly wrote: It's disabled by ReShade itself. ReShade is whitelisted by almost all anticheats, most likely because of this behaviour. There are custom ReShade builds where this cheat prevention is disabled but obviously these DLL's have different signatures and aren't whitelisted afaik.


Do we know anywhere where we can get these custom ReShade builds ?

Only the latest official version is white listed.

Please Log in or Create an account to join the conversation.