Scaling and Offsetting Shaders

  • Buerto
  • Topic Author
More
3 years 7 months ago #1 by Buerto Scaling and Offsetting Shaders was created by Buerto
Is there a way to scale/offset a shader or do I have to figure out how .fx files work and start adding magic numbers? I'm using PCSX2 to play shadow of the colossus and wanted to add mxao, but it seems the game's depth buffer uses a lower resolution than the game's output resolution. Pic 1 shows the game running at 1080p and Pic 2 shows the mxao output.

https://ibb.co/qdvjF74
https://ibb.co/0BK5sfg

The commands RESHADE_DEPTH_INPUT_X_SCALE , RESHADE_DEPTH_INPUT_Y_SCALE and RESHADE_DEPTH_INPUT_X_OFFSET, RESHADE_DEPTH_INPUT_Y_OFFSET sadly only seem to work for the DisplayDepth shader.

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

  • crosire
More
3 years 7 months ago #2 by crosire Replied by crosire on topic Scaling and Offsetting Shaders
MXAO supports those, but you need the latest version of MXAO, which is in the qUINT package (qUINT_MXAO.fx).

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

  • Buerto
  • Topic Author
More
3 years 7 months ago #3 by Buerto Replied by Buerto on topic Scaling and Offsetting Shaders
Thanks for the reply.
I just tried the updated version of MXAO, but now it fails to detect any depth (debug view stays white/show normals works and shows that the scaling worked).
Any advice on troubleshooting this?

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.