Comments (14)
Whoops, just noticed this issue.
Sure. I just pushed something to the 'misc' subdirectory. I don't know of any way to make it place the side-by-side images perfectly for all resolutions, so I put some runtime parameters in that you can adjust to line things up.
from common-shaders.
The only setting that appears to really be missing is the ability to set the y-position (or reworking the settings to have separation, height, and width instead, so that everything stays centered)
from common-shaders.
Ha, I actually had it in there for awhile and then took it out because I didn't think it was necessary. I just re-added it. Let me know if it needs any more work.
from common-shaders.
Not sure what's going on with the pincushion settings. The blue-ish area flickers different shades (also shows up with yellow for a few frames on the Chrono Trigger start animation).
The blue area gets close to surrounding, rather than overlapping, the game if you turn the curvature radius down.
Same problem in Super Mario World. No idea what's going on here, but it seems to be grabbing the color from some edge or corner of the game image, given how it behaves with the Chrono Trigger start screen and the color here.
It seems to happen regardless of what libretro core I use. This problem only happens with the pincushion distortion on.
from common-shaders.
Yeah, that's not really intended, but it is indeed functioning as expected (though it's not as immediate on my end; may be GPU-specific...). You can try increasing the value after '#define d' in the shader code, which mitigates the effect, but also reduces the curvature effect. So, crank it up and turn the radius down and see if it keeps the weird out-of-bounds color stuff from taking over.
I don't have a HMD, so I was just coding blind, based on what oculus rift pics I could find online, but can you make a screenshot of an ideal placement and curvature (assuming the weirdness wasn't happening) that I can use as a guide?
from common-shaders.
Is there any chance a version of this could be made without barrel distortion? Most of the hmds i've used looked just fine without it. Here's a good example of what I mean: https://i.ytimg.com/vi/7BkXnryT33I/maxresdefault.jpg
from common-shaders.
You can disable the pincushion effect in the parameters.
You can also try this other version I made in glsl that's a little different:
https://github.com/hizzlekizzle/glsl-shaders/blob/master/misc/side-by-side-simple.glsl
from common-shaders.
That one works way better, however I don't seem to be able edit the parameters on the android version. Specifically it looks shifted to the right with the right view cutoff so I'm trying to edit the horizontal placement.
from common-shaders.
Okay so since the current version crashes when I try to open the Menu Parameters I used an older version and got everything adjusted well. Thank you very much!
from common-shaders.
Awesome! I'm glad it worked for you. I'm not sure why it crashes on the current version and adb didn't give me any good clues :/ I haven't tried any nightlies to see if they act any better but hopefully, it'll be fixed in the next release.
from common-shaders.
Oh I'll try the nightlies as well. That would be great, I'm having weird issues with the menu in the older version (1.2) that shows down the process.
What exactly would it take to get this included as a default shader with profile and/or added in as a Cardboard/SBS mode? I can go through and make profiles if that'd help.
from common-shaders.
Oh also I posted instructions on how I got it working here if that helps anything:
from common-shaders.
@HelenSkelter I added in a preset that you can load directly instead of doing the glslp hokey pokey you described in the post. I went ahead and put in your settings in the preset, as well.
https://github.com/hizzlekizzle/glsl-shaders/blob/master/misc/cardboard-vr.glslp
Also, have you tried the anaglyph-to-side-by-side.glsl shader that's in there? It lets you play virtualboy games in 3D. You just need to go into the core options and set the anaglyph preset to any option other than red/blue or yellow/blue. I think red/electric cyan works well.
from common-shaders.
Oh thank you very much, that'll save me a lot of time. I had but I didn't know to avoid those combinations before, that's really neat! I wonder if something like that is possible for those Anaglyph 3D Master System games.
Unfortunately those settings vary widely between systems. Would the best option be to make a profile for every system and then post them somewhere?
from common-shaders.
Related Issues (20)
- 4xsoftSdB defect HOT 1
- incorrect path (r57shell royale preset) HOT 1
- [Request] GBA Ultrawide Edit HOT 1
- run away pixels in all auto-box shaders HOT 3
- List of broken shader profiles HOT 4
- xbr 3d filters not working correctly
- Xbr lv2 3d problem
- Shader scaling issues HOT 1
- crt-aperture.cgp compiling error HOT 2
- mdapt dedithering doesn't blend very well with bigger grids HOT 7
- Couldn't disable scanline of crt-geom.cg HOT 1
- How do you emulate component, and VGA?
- [Q] Any shader to darken only an area of the screen? HOT 5
- Avoid moire effect when using curvature HOT 3
- Apparent issue with the XBR shaders HOT 1
- [Request] r57shell's PAL shader: add "USE RAW" / "USE LUT" to user-settings HOT 10
- Feature Request: Scaling image files HOT 1
- vertical red line HOT 9
- (Request) Port Outer Glow/Outer Glow CRT and Anamorphic over from Slang to GL
- delete me
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from common-shaders.