Rewrite depth buffer detection algorithm

  • Posts: 97
2 years 11 months ago - 2 years 11 months ago #1 by NoMansReshade
Hello, it's been awhile since I last posted... I was just wondering if it would be useful to consider rewriting the depth buffer detection algorithm. By looking at the supported games page, you can clearly see that a lot of games have no depth buffer access. As Crosire replied to a related question from awhile back: "The values in there are currently chosen in a way that works well in most cases. But for some games they need to be different. For some games this way of detection will probably never work at all."

With that said, would perusing another detection method be out of the question? Depth-buffer access is crucial for so many great effects. It's ashame we're not able to use them on a very large portion of games. A rewrite would likely be necessary, but you could also create a "PreprocessorDefinition" for different detection methods. I don't see any downside to doing so. Thank you for your time :)
The following user(s) said Thank You: Aelius Maximus, Exilium

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

  • Posts: 1221
2 years 11 months ago - 2 years 11 months ago #2 by Marty McFly
Feel free to write a better heuristic :) the values crosire mentioned are most likely those arbitrary control numbers in the current heuristic.

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

  • Posts: 816
2 years 8 months ago #3 by BlueSkyKnight
I have tried to do this for the game Shadow Warrior 2. I was able to get a Depth Buffer to show.
But, It was oversized and all wrong. I don't have enough knowledge to change it purely on my own. I would need some help.

I was thinking the same thing to have more of a manual detection.

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