MXAO in Anno 1404/Dawn of Discovery Gold Edition

  • blackdragonbird
  • Topic Author
More
7 years 6 months ago #1 by blackdragonbird MXAO in Anno 1404/Dawn of Discovery Gold Edition was created by blackdragonbird
Hi guys,

Has anyone got this shader working with this game? For some reason it do not apply. Lumasharpen, and others work without issues, but not this one.

I'm running the game in DX10 mode.

Any tip or advice where to look or do to try to figure out why?

Thank you.

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

  • Marty McFly
More
7 years 6 months ago #2 by Marty McFly Replied by Marty McFly on topic MXAO in Anno 1404/Dawn of Discovery Gold Edition
Are you sure that depth buffer support is given in this game?
Without depth buffer (the texture that stores the distance from camera to any object onscreen per pxel) MXAO cannot evaluate the occlusion between objects. Effects like lumasharpen only use the color buffer so they work without a problem. Almost every game has a depth buffer but sometimes ReShade cannot find it.. To check if missing depth buffer data is the issue, do the following: open up MXAO.fx file, scroll down to the techniques section and right above that there should be a line somewhere that says

res = color;

Right after that,, before the }, create a new line that says

res=GetLinearDepth(texcoord.xy);

Save and close.
Open up the game again and the scene should be a mixture of black and white If it is fully black or white, do check for objects that are close to camera etc, if you see any change onscreen it means that the depth buffer is recognized, just the function that prepares it for MXAO is not fitting. If it still stays entirely black or white, depth buffer is not recognized and you can't do anything about that.
The following user(s) said Thank You: blackdragonbird

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

  • blackdragonbird
  • Topic Author
More
7 years 6 months ago #3 by blackdragonbird Replied by blackdragonbird on topic MXAO in Anno 1404/Dawn of Discovery Gold Edition
It seems to be the problem. Totally black image no matter the distance or angle of the camera. A pity. =(

Thank you for the info. =)

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.