cannot replicate retroarch filter no matter what settings
the first image is retroarch, the second is shaderglass. the shaders being used are identical with the same settings. in shaderglass theres some sort of horizontal scanlines most notable on the dark green parts of the bushes that are not present in retroarch. no amount of adjusting my monitor resolution or pixel scaling in shaderglass resolves this.
Sure I'll take a look - what's the shader?
Other than shader compatibility (Vulkan vs DX11 etc.), one common cause of differences is aspect ratio correction. You need to disable it in RetroArch (set to 1:1 PAR) and aspect-ratio correct in ShaderGlass instead.
i gave all those aspect ratio settings a try and sadly it did not help. just always ends up with some part of the scanlines not working properly. the shader is crt-beans-s-video.slangp located in Retroarch\shaders\shaders_slang\presets\crt-plus-signal, it is not present in the library in shaderglass and i had to import it.
Ok I did some testing and yes I see a difference, I think it's something to do with SG's interlace timing not being accurate enough so will need to look at that. In the interim two things you can try:
- disable interlace by setting this shader's "Interlacing" Parameter to "2" in SG
- try the BFI alpha build of SG (BFI is not related to this but that build has tighter timings and works better in my testing) https://github.com/mausimus/ShaderGlass/releases/download/v1.2.1-bfi-alpha3/ShaderGlass-1.2.1-bfi-alpha3-win-x64.zip
thank you for your help. i should have mentioned i actually did have the interlacing set to 2 in both of those screenshots already as it was wobbly and shaky when enabled in SG. this alpha build definitely helps with that when leaving it at 0, it looks much better now, though still not identical. however i noticed many of the advanced settings in this version are greyed out and i cannot adjust them. i would really need to disable flip mode for the input latency to be normal.
Oh really you're getting worse latency with flip mode enabled? It's supposed to be faster 😵💫 If you move ShaderGlass over the UFO test, can you visibly see Flip Mode on/off affect the delay? Should be 1 frame in both cases:
I will be making a patch in a few weeks, I will try to fix interlacing, update RetroArch library and take another look at this shader to see if there's anything else (it's pretty cool).
my delay appears to be quite a bit larger. in the 1.2.2 version i only get delay in flip mode when in fullscreen, whereas in that alpha version (picture below) its present no matter what. if i allow tearing in 1.2.2 it stops the lag in flip mode but then the screen tears. with flip mode disabled theres no delay and i dont have to allow tearing.
Wow this is not expected at all, would you mind posting your specs? Win 10 or 11 (which exact version)? Which GPU (only one or do you have two GPUs)? ShaderGlass doesn't buffer any frames, I wonder if it's some GPU settings that causes this in your case.
windows 11 10.0.26200.7171, ryzen 5 7600x cpu, rx 6750xt gpu. only one gpu. amd gpu drivers and adrenaline are pretty terrible so i wouldnt be surprised, i dont have any sort of extra vsync enabled in there or anything though. i should add in 1.2.2 i maybe only get an extra frame of input lag with flip mode on whereas its significantly more in that alpha version.