Welcome, Guest.
Username: Password: Remember me

TOPIC: Allow a texture to make a "pseudo" Depth Buffer

Allow a texture to make a "pseudo" Depth Buffer 1 year 5 months ago #1

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).
The administrator has disabled public write access.

Allow a texture to make a "pseudo" Depth Buffer 1 year 5 months ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2452
  • Thank you received: 1391
Entirely possible, you can do that with ReShade already. But it would probably look weird in most games.
Cheers, crosire =)
Last Edit: 1 year 5 months ago by crosire.
The administrator has disabled public write access.
The following user(s) said Thank You: LegoPepper

Allow a texture to make a "pseudo" Depth Buffer 1 year 5 months ago #3

  • Ganossa
  • Ganossa's Avatar
  • Offline
  • 최정장군
  • Posts: 790
  • Thank you received: 838
Last Edit: 1 year 1 month ago by crosire. Reason: Fixed link
The administrator has disabled public write access.
The following user(s) said Thank You: crosire, LegoPepper

Allow a texture to make a "pseudo" Depth Buffer 1 year 5 months ago #4

  • Wicked Sick
  • Wicked Sick's Avatar
  • Offline
  • Die young or suffer (Forgive my poor English)
  • Posts: 360
  • Thank you received: 105
Lucifer, or who knows, where is that pseudo-dof? Are you working on it or did I miss it?
Finding relief somewhere between a tree's branch and its shade.
The administrator has disabled public write access.

Allow a texture to make a "pseudo" Depth Buffer 1 year 5 months ago #5

  • Ganossa
  • Ganossa's Avatar
  • Offline
  • 최정장군
  • Posts: 790
  • Thank you received: 838
Yeah. I could not wrap it up yet cause there was always something else coming up :P I will see to it :)
The administrator has disabled public write access.

Allow a texture to make a "pseudo" Depth Buffer 1 year 5 months ago #6

  • Wicked Sick
  • Wicked Sick's Avatar
  • Offline
  • Die young or suffer (Forgive my poor English)
  • Posts: 360
  • Thank you received: 105
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 ^^
Finding relief somewhere between a tree's branch and its shade.
The administrator has disabled public write access.

Allow a texture to make a "pseudo" Depth Buffer 1 year 5 months ago #7

  • Kleio420
  • Kleio420's Avatar
  • Offline
  • Posts: 216
  • Thank you received: 28
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
The administrator has disabled public write access.

Allow a texture to make a "pseudo" Depth Buffer 1 year 5 months ago #8

  • Ganossa
  • Ganossa's Avatar
  • Offline
  • 최정장군
  • Posts: 790
  • Thank you received: 838
As far I know, the current AO algorithms use raw depth data and not linearized values. Those AO algorithms would to be changed.
The administrator has disabled public write access.