Senran Kagura Peach Ball - Depth Buffer Misaligned

  • Posts: 87
11 months 3 weeks ago #1 by Niko of Death
In Senran Kagura Peach Ball, during gameplay, about 20% of the horizontal screen space is dedicated to the sidebar (containing score, missions etc), meaning only 80% or so of the output is 3D rendering. Unfortunately, the depth buffer (as reshade is able to retrieve it at least - I have tried all possible combinations of depth buffer settings as well as in game settings) has this 80% centered (10% blank - 80% depth info - 10% blank), whereas the game has it on the left (80% Game - 20% sidebar), meaning depth effects are broken. Is it possible for this to be fixed? I know Boulotaur2024 fixed a similar problem that Dolphin has in his custom emulator dll, perhaps there could be a preprocessor definition to modify the positioning/scaling of the depth texture?
Here is (using the before/after screencap function) the normal game, the displaydepth.fx output, and the displaydepth.fx output cropped and realigned (it should be noted that the depth buffer appears to have a few pixels on the right end beyond where the game view is cut off by the sidebar, but still aligns perfectly) imgur.com/a/yNBfjzd

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

  • Posts: 87
9 months 3 weeks ago #2 by Niko of Death
Opposite problem in Travis Strikes Again: No More Heroes, the game is centered, but the depth buffer is aligned to the left.

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

  • Posts: 3750
7 months 11 hours ago - 7 months 11 hours ago #3 by crosire
There are new options to change alignment now. Edit global preprocessor definitions and add the following to change X/Y offset (replace 0 with the number of pixels you want to move the depth image on screen):
RESHADE_DEPTH_INPUT_X_OFFSET 0
RESHADE_DEPTH_INPUT_Y_OFFSET 0
Needs latest shaders to work (update with setup tool).

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