[SOLVED] MXAO - Flip Depth Buffer - Unturned

  • Posts: 2
2 years 7 months ago - 2 years 7 months ago #1 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): http://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?

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

  • Posts: 221
2 years 7 months ago #2 by Sunesha
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.

  • Posts: 316
2 years 7 months ago #3 by FierySwordswoman
The following user(s) said Thank You: VIXIVIXIV

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

  • Posts: 2
2 years 7 months ago #4 by VIXIVIXIV

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.