Allow a texture to make a "pseudo" Depth Buffer

  • Posts: 11
4 years 11 months ago #1 by LegoPepper
For games that don't have access to depth buffer, why not create a sort of "pseudo" depth buffer?
e.g. I would be able to create a texture (much like the ui-mask) and I would be able to tell reshade to use this picture as the depth buffer.

This way, depth related effects such as DOF can be dependent on the picture, instead of the game (which may not have depth buffer access).

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

  • Posts: 3723
4 years 11 months ago - 4 years 11 months ago #2 by crosire
Entirely possible, you can do that with ReShade already. But it would probably look weird in most games.
The following user(s) said Thank You: LegoPepper

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

  • Posts: 790
4 years 11 months ago - 4 years 7 months ago #3 by Ganossa
The following user(s) said Thank You: crosire, LegoPepper

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

  • Posts: 503
4 years 11 months ago #4 by Wicked Sick
Lucifer, or who knows, where is that pseudo-dof? Are you working on it or did I miss it?

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

  • Posts: 790
4 years 11 months ago #5 by Ganossa
Yeah. I could not wrap it up yet cause there was always something else coming up :P I will see to it :)

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

  • Posts: 503
4 years 11 months ago #6 by Wicked Sick
Ohhh, I see haha I was putting my face against the screen and reading everything with attention to see if i ddi miss it lol

Ok, I didin't mean to rush or anything, I only wanted to know. Thank you again ^^

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

  • Posts: 261
4 years 11 months ago #7 by Kleio420

LuciferHawk wrote: Yeah. I could not wrap it up yet cause there was always something else coming up :P I will see to it :)

have you tried this with any ao yet ? wondering if it would look weird

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

  • Posts: 790
4 years 10 months ago #8 by Ganossa
As far I know, the current AO algorithms use raw depth data and not linearized values. Those AO algorithms would to be changed.

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