Allow a texture to make a "pseudo" Depth Buffer

  • LegoPepper
  • Topic Author
More
10 years 2 months ago #1 by LegoPepper Allow a texture to make a "pseudo" Depth Buffer was created 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.

  • crosire
More
10 years 2 months ago - 10 years 2 months ago #2 by crosire Replied by crosire on topic Allow a texture to make a "pseudo" Depth Buffer
Entirely possible, you can do that with ReShade already. But it would probably look weird in most games.
Last edit: 10 years 2 months ago by crosire.
The following user(s) said Thank You: LegoPepper

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

  • Ganossa
More
10 years 2 months ago - 9 years 10 months ago #3 by Ganossa Replied by Ganossa on topic Allow a texture to make a "pseudo" Depth Buffer
Last edit: 9 years 10 months ago by crosire. Reason: Fixed link
The following user(s) said Thank You: crosire, LegoPepper

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

  • Wicked Sick
More
10 years 2 months ago #4 by Wicked Sick Replied by Wicked Sick on topic Allow a texture to make a "pseudo" Depth Buffer
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.

  • Ganossa
More
10 years 2 months ago #5 by Ganossa Replied by Ganossa on topic Allow a texture to make a "pseudo" Depth Buffer
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.

  • Wicked Sick
More
10 years 2 months ago #6 by Wicked Sick Replied by Wicked Sick on topic Allow a texture to make a "pseudo" Depth Buffer
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.

  • Kleio420
More
10 years 2 months ago #7 by Kleio420 Replied by Kleio420 on topic Allow a texture to make a "pseudo" Depth Buffer

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.

  • Ganossa
More
10 years 2 months ago #8 by Ganossa Replied by Ganossa on topic Allow a texture to make a "pseudo" Depth Buffer
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.