Homepage › Forums › RetroPie Project › Video Output on RetroPie › shader: crt-hyllian with sharpness hack
- This topic has 8 replies, 4 voices, and was last updated 9 years, 6 months ago by patrickm.
-
AuthorPosts
-
05/26/2015 at 09:45 #98489patrickmParticipant
I thought I would share this for those who use 720 displays and like using shaders. This is the “crt-hyllian” shader with the “sharpness hack” option enabled, which removes the blur effect. Enjoy =)
https://www.dropbox.com/s/k1e9uaqhtpkeaxq/crt-hyllian-sharpness-hack?dl=0
just add the .glsl extension and drop it in the shader folder.
05/26/2015 at 19:42 #98508FloobMemberThanks. I like this.
I should really update my shaders video with ones based on hyllian.05/26/2015 at 20:28 #98512patlParticipantYes, I also think that looks really nice.
Also, because even with your hack the image is still minimal soft an not 100% sharp ;-)
The problem is that the image (depending on the game) a little stuttering.
The best way to realize it, is in Super Mario World 2 on SNES.
– In generally, if you run just around the area look on blocks or something.
When you set off the shader, the game runs much smoother.
– In the beginning, while the island turns.
– In the first level, in the first cave with the rolling stone.If you change the core to Pocket SNES, it is slightly better but still clearly visible.
With an overlay image and Pocket, SNES Mario World 2 always as fast as if no shader is in use.I have overclocked my Pi2 to official max in the config.
05/26/2015 at 20:33 #98513FloobMemberI’ll do a bit of a comparison soon – although the TV my Pi runs off usually is 720p, so if I go with overlays I’ll need to create some custom ones.
05/26/2015 at 23:57 #98520InsecureSpikeParticipantawesome! thanks man!
05/27/2015 at 00:49 #98521patrickmParticipant[quote=98512]Yes, I also think that looks really nice.
Also, because even with your hack the image is still minimal soft an not 100% sharp ?
The problem is that the image (depending on the game) a little stuttering.
The best way to realize it, is in Super Mario World 2 on SNES.
– In generally, if you run just around the area look on blocks or something.
When you set off the shader, the game runs much smoother.
– In the beginning, while the island turns.
– In the first level, in the first cave with the rolling stone.If you change the core to Pocket SNES, it is slightly better but still clearly visible.
With an overlay image and Pocket, SNES Mario World 2 always as fast as if no shader is in use.I have overclocked my Pi2 to official max in the config.
[/quote]
Shaders in general don’t run well at 1080p on the pi, but setting your display to output a lower resolution will add input lag and scaling artifacts. The solution if you want to use shaders with the pi? Buy a 720p display :P
Anyway, glad you like it.
edit: also, just to be clear, I didn’t come up with this hack- it’s actually a parameter option, but it’s somewhat difficult to edit; you have to edit the .cg version of the file on a PC and convert it to .glsl using a python script.
05/27/2015 at 00:51 #98522patrickmParticipant[quote=98508]Thanks. I like this.
I should really update my shaders video with ones based on hyllian.[/quote]
It’s one of my favorites and what I would use with the pi if I had a 720p native display.
The reason this one is so good IMO is because it doesn’t seek to replicate flaws like color bleed that degrade the picture quality, but just those aspects of the CRT which enhanced the picture quality, like the “blending” you got from a composite signal. This was actually used by some graphic artists to create special effects – the force field in sonic the hedgehog is a good example.
On the pi, everything is a compromise. On a 1080p display the best compromise IMO is to use the scanline overlays, but if I had a 720p native display I would totally go for Hyllian. There are more options to tweak, if you’re interested.
If I had a more powerful computer, I might opt for crt-royale or crt-easymode with modified settings. I’ve seen some really amazing shots of those shaders in action.
05/27/2015 at 19:53 #98549FloobMemberIn terms of a guide for this one, do you just select that shader, or did you specify a new viewport setting as well etc.. ?
I think you had this in your original guide, but have deleted it now to show the overlay details instead?I guess I could just do a comparison of default settings, plus with this shader chosen? Or were there extra tweaks you wanted in there?
05/27/2015 at 20:10 #98551patrickmParticipant[quote=98549]In terms of a guide for this one, do you just select that shader, or did you specify a new viewport setting as well etc.. ?
I think you had this in your original guide, but have deleted it now to show the overlay details instead?I guess I could just do a comparison of default settings, plus with this shader chosen? Or were there extra tweaks you wanted in there?
[/quote]
I deleted the original recommendations because I’m assuming that the vast majority of people are using 1080p displays, and shaders are really only good if you are on a 720 display (with the Pi).
I think for all shaders the best results are had when you use integer scale. This will ensure pixel-perfect scaling and, most importantly, that the scanlines are evenly spaced and the same shape.
There is also an option to adjust bloom strength and beam width/sensitivity, if you are interested in that.
I’m actually kind of jealous of those with a 720p display as they’re actually kind of hard to find, now. I was considering buying one for the retropie, but I think it would be cheaper to just buy a slightly more powerful computer like the mini Intels.
I’ll post steps to editing glsl shaders on the pi a little later- that would make a good video.
-
AuthorPosts
- The forum ‘Video Output on RetroPie’ is closed to new topics and replies.