Senran Kagura Peach Ball - Depth Buffer Misaligned

  • Niko of Death
  • Topic Author
More
4 years 8 months ago #1 by Niko of Death Senran Kagura Peach Ball - Depth Buffer Misaligned was created 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.

  • Niko of Death
  • Topic Author
More
4 years 6 months ago #2 by Niko of Death Replied by Niko of Death on topic Senran Kagura Peach Ball - Depth Buffer Misaligned
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.

  • crosire
More
4 years 3 months ago - 4 years 3 months ago #3 by crosire Replied by crosire on topic Senran Kagura Peach Ball - Depth Buffer Misaligned
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).
Last edit: 4 years 3 months ago by crosire.

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.