-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cocktail cabinet - 4 player split screen #129
Comments
I've spent some time thinking about this and I'm not sure how it could be done at 16:9 aspect ratio without seriously distorting the images or leaving a lot of black space. The second diagram could potentially work on an "ultrawide" monitor, though, like 21:9, I suppose. |
Thank you, for the reply. 903 x 508 (16:9 sections) I am a bit unsure what the desired aspect ratio of the sections should be and/or how the current shader handles different aspect ratios, and whether it is possible to maybe even change the size of the different sections, based on the aspect ratio of the original image. But even if that is not possible, the 4:3 ratio would also fit in the 16:9 sections (677x508), it would just leave more black space. I understand there will always be black borders/space, but that is not a deal breaker right? The 2 player cabinet (portrait) also leaves black space on a 16:9 screen. Also I understand there might be some loss in visual fidelity, but although these sections would be pretty small, the resolution is still not that far off from, or even better than most oldschool native resolutions. SNES had a max resolution of 512x448 for example. And the N64 had 4 player split screen with a max resolution of 720×576 for the full screen. Classic arcade games have even less I think. |
Well, here's the best I could do with a slang shader (glsl shaders for this sort of thing are much more complicated due to supporting NPOT textures):
|
Oh that looks nice. I will try it out, when I get home! Thank you very much. |
Hi, edit: Just FYI, I had to change the video driver to glcore to get retroarch to recognize the .slang shader, as regular gl does not support slang shaders. And Vulkan is not available on retropie. I also tried Mame, and it was the same. Any idea why this might be happening. For as far as I can tell it works perfectly when most of the screen is black. And looking at your screenshot it was working nicely for you as well. |
Ah, right. Yeah, GLES has trouble with clamping coords for some reason. Try this one, which manually clamps them:
Also, make sure you set your filtering to "linear" to avoid ugly uneven pixel sizes. |
Hi, I tested it last night on a few games, and it seems to work perfectly now! Thank you very much! :) |
Hi,
I love the work you guys have already done, especially the cocktail cabinet shader. I am building a gaming table for 4 player on 4 sides of the table. And as I will be using only 1 screen it would be very nice if I could somehow split the screen up into 4 player rotated splitscreen. Something like this (don't know how to add an image):
Or this might also work, as the screen is widescreen (16:9):
If possible I would like to request a shader like that. Or maybe some guidelines how to edit the existing cabinet shaders, to this end, so I can edit them myself. I have software engineering experience, I just don't have any experience with shaders.
edit: An extra shader for 3 player split screen would also be nice to have, but not specifically necessary if we already have a 4 player one.
Thanks for any help you can provide.
The text was updated successfully, but these errors were encountered: