Scaling and Offsetting Shaders

More
2 weeks 6 days 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.

More
2 weeks 6 days 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.

More
2 weeks 5 days 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.