glsl-shaders icon indicating copy to clipboard operation
glsl-shaders copied to clipboard

DS hybrid view - options to align screen

Open Papermanzero opened this issue 6 years ago • 2 comments

The DS hybrid shader needs some options to better align the screen.

  1. vertical alignment - top, centred, bottom Currently the two ds screens are only aligned on the top screen border. It would be nice to center the screen or to align the screen to the bottom border
  2. Side - right, left Currently the two ds screens are just on the right side. An option to bring them to the left side would be good
  3. screen gap - pixels The gap between the two ds screens. Some games rely on the gap size.

Papermanzero avatar Feb 07 '19 21:02 Papermanzero

1 is doable, 2 is possible but complicated, 3 isn't really possible (the way the current shader is structured) since it treats the whole screen as a single object. I think there's a core option for 3 that should handle it better.

hizzlekizzle avatar Feb 08 '19 18:02 hizzlekizzle

For 3) Yes the cOre option is available. However the shader cuts the pixels from the borders. Means if i would set a gap of 10 pixels, the hybrid filter would cut 5 pixels on top of the top screen and 5 pixels on the bottom of the bottom screen.

Papermanzero avatar Feb 08 '19 21:02 Papermanzero