Depth buffer in The Talos Principle

  • Sokol_Paxa
  • Topic Author
More
3 years 2 months ago #1 by Sokol_Paxa Depth buffer in The Talos Principle was created by Sokol_Paxa
(I'm sorry if the question was already there, I didn't find it)

Reshade defines it in a reduced form in the corner of the screen.
Is it possible to fix the depth buffer definition?

The status of the Talos Principle in the ReShade Compatibility List is Perfect

(A short video)

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

  • brazzjazz
More
3 years 2 months ago - 3 years 2 months ago #2 by brazzjazz Replied by brazzjazz on topic Depth buffer in The Talos Principle
Yes, you can fix the depth map.

1. Use the DisplayDepth effect to first display the depth map, and then edit it to fit the scene. It seems mostly a scale issue, but possibly also offset (position). Note the values you have to put in in order to get the correct depth map which aligns with the your image from the game.
2. Then, click on "Edit global preprocessor definitions" at the top of the lower half, above the options. There you have to create one or several new strings with their respective values. DisplayDepth tells you exactly how these strings are called (see screenshot). Note though that you don't write the "=" which only appears in the .ini file itself, here you just create the string and add the value into the adjacent field. If you typed something wrong (as I first did), you'll get an error message from ReShade that a load of effects couldn't compile. In that case, just go back to the "Edit global preprocessor definitions" section and remove the added string.



What you're basically doing is you use DisplayDepth as a way to display the depth map (depth buffer) to sort out what's going on, and in the second step you tell ReShade to change the depth map accordingly. Since it is a GLOBAL preprocessor definition, it means now you have fixed problems with all other depth-based effects as well as all effects now can use the fixed depth map (any ambient occlusion effect, depth-of-field, distance fog etc. etc.).

Great video you made by the way, it helped a lot in identifying the problem.
Last edit: 3 years 2 months ago by brazzjazz.
The following user(s) said Thank You: Sokol_Paxa

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

  • Sokol_Paxa
  • Topic Author
More
3 years 2 months ago #3 by Sokol_Paxa Replied by Sokol_Paxa on topic Depth buffer in The Talos Principle
It turns out I was close to a decision..
Thank you very much, friend!!!

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

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.