[SOLVED] MXAO - Flip Depth Buffer - Unturned

  • VIXIVIXIV
  • Topic Author
More
8 years 2 months ago - 8 years 2 months ago #1 by VIXIVIXIV MXAO - Flip Depth Buffer - Unturned was created by VIXIVIXIV
So, I was configuring some shaders for Unturned recently. While working with MXAO, I noticed some severe issues with its functionality. First of all, when the game's internal TAA is enabled, the MXAO has no apparent effect at all. However, I suspect that this is due to a fundamental conflict and cannot be resolved. Secondly, with the TAA disabled, the MXAO results in strange inverted shadows of all of the objects., as shown at this link (having trouble with the embed): imgur.com/r5wypMy
I was reading some other forum topics, and I noticed that one solution that was commonly needed for Unity games was to flip the depth buffer. How would I go about doing this?
Last edit: 8 years 2 months ago by VIXIVIXIV.

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

  • Sunesha
More
8 years 2 months ago #2 by Sunesha Replied by Sunesha on topic MXAO - Flip Depth Buffer - Unturned
I answering from my phone so bear with me :)

If you open up Reshade with Shift+F2. Go to the second tab. There will be a square called preprocessor. There is different text already entered. They are all set to "0", which means that they are not active. There should be a text concerning flipping the depth buffer up side down. Once again sorry I don't have exact phrase. But I think it says upside down or something familiar. Change the "0" to "1". Goto the first tab. On the bottom left corner click "Reload".

If this wasn't the correct option, there is 4 of them. Just a change them "1" and try to get right option and press reloaad

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

  • FierySwordswoman
More
8 years 2 months ago #3 by FierySwordswoman Replied by FierySwordswoman on topic MXAO - Flip Depth Buffer - Unturned
The following user(s) said Thank You: VIXIVIXIV, ShibaOrange

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

  • VIXIVIXIV
  • Topic Author
More
8 years 2 months ago #4 by VIXIVIXIV Replied by VIXIVIXIV on topic MXAO - Flip Depth Buffer - Unturned

FierySwordswoman wrote: See section 1c:
reshade.me/forum/troubleshooting/3293-co...-and-their-solutions

Alright, didn't notice that section of the options. Messed around with those a little, and now I can say that (for the most part) it's working. The grass is acting a little weird, probably because it doesn't really have a depth and is a two-dimensional object, but that can't be fixed generically. Thanks for the help!

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.