Jump to content
LaunchBox Community Forums

The Big Ol' Retroarch Shader Thread


alexis524

Recommended Posts

  • 8 months later...

Hi, I really love these shaders!

But there's one issue that I run into with a few of them (and this seems to be a common problem with advanced CRT shaders - CRT Royale has it as well). It tends to occur on games from the PSX generation (or later) that have darker colour palettes; Final Fantasy VII and Xenogears are classic examples of this.

Note the blobs of black and other distorted colours around the floor at the bottom and around the top of the ladder and adjacent wall (it's most visible if you zoom in). The top pic uses the Netrunner shader, and a shaderless version of this scene is below (there are a few compression artifacts now that I look at it, but you can still easily see the colour distortion):

913168910_ff7netrunnershader.thumb.jpg.e3f401a6aa4ca85d29780a79365216df.jpg288279818_ff7noshader.thumb.jpg.6639cb748770ee80d2a43f9d3568c597.jpgYou can also see it in this pic if you zoom in on the lower side of Aps and the wall behind him (this is CRT Royale):

1669153222_ff7crtroyale.thumb.png.b76a5a647ea4aef7d4106fa25f9d4c49.pngIn my experience, about half of advanced CRT shaders have this problem. I'm really curious to know exactly what causes it and whether there's any kind of satisfactory fix for the shaders that have it.

If it helps, I've made a couple of observations:

1. The shaders that don't have this problem usually have multiple blur filters near the beginning. For example, they often begin with linearize, blur10x10shared, blur9x9, blur10x10shared as their first four filters.

2. It can be eliminated in the shaders that have it, but only by turning the contrast down and the brightness up. That obviously brings its own problems.

For now we can all use the shaders that don't have the issue, but it would be very interesting to know why the issue exists at all.

Edited by TakaraMiyuki
Link to comment
Share on other sites

That's from gamma input/output levels. Most heavy CRT shaders will have multiple types/sources of gamma adjustment as well.

In Razorgirl, for example:

image.thumb.png.5208ea92285c38ec855eb8d9bc0f25d4.png What looks right can kindof vary by content. You shouldn't see anything like that with my shaders but admittedly I can only test in so many scenarios with each one.

I've been meaning to put out an updated release of the pack, I've added a few new ones in my spare time.

No Shader:

1377671272_RetroArchScreenshot2018_11_11-00_57_00_42.thumb.png.bd8f5b01c24e4dcda321fd04c00be10e.pngRazorgirl-V2:

1277942346_RetroArchScreenshot2018_11_11-00_57_15_02.thumb.png.1c4e3442cc1a1a3dd3775caff1050f09.pngNeuromancer-V2:

1449925439_RetroArchScreenshot2018_11_11-00_57_33_18.thumb.png.9aa16bae2bd5fa082857da802c2af8fd.pngRazorgirl-Vertical:

117459065_RetroArchScreenshot2018_11_11-01_03_05_57.thumb.png.5984a7120cc094f8b4f05bbc14eb9d70.pngNeuromancer-Vertical:

592100669_RetroArchScreenshot2018_11_11-01_03_25_63.thumb.png.1c1a1f59bff508e92b441c7ed4803a97.png

Link to comment
Share on other sites

5 hours ago, Zombeaver said:

Here's one more for good measure. Neuromancer V3. I adjusted some of the scaling a bit and toned down the bloom a little. Looks pretty nice I think.

Zombs Shaders 11-17-18.7z

No Shader:

Neuromancer V3:

No Shader:

Neuromancer V3:

No Shader:

Neuromancer V3:

No Shader:

Neuromancer V3:

No Shader:

Neuromancer V3:

Thanks so much Zombeaver, going to try them right now, yeahhh

 

Link to comment
Share on other sites

I added a new shader - Snow Crash. This one's basically in between Razorgirl and Neuromancer V3. It has the bloom and slightly desaturated look of Neuromancer while not being quite as washed out. I also made a vertical version of it, as well as the usual no vignette/grain versions.

Zombs Shaders 11-20-18.7z

No shader:513523114_VagrantStory(noshader).thumb.png.fdb21931c2d5f6f20c2fd5a6363ea58a.pngNeuromancer V3:

465143535_VagrantStory(NeuromancerV3).thumb.png.344e6cf4ea7deb864f30c489f4529e83.pngSnow Crash:

135800916_VagrantStory(SnowCrash).thumb.png.e75e7309cd8b10a269354ceb152d9696.pngRazorgirl: 

367267641_VagrantStory(Razorgirl).thumb.png.107969871f2fa17660ed9db26055c918.pngNo shader:

1504472211_ChronoTrigger(noshader).thumb.png.b87782d13e44b9863f5eb084fbfaa3f0.pngNeuromancer V3:

683199906_ChronoTrigger(NeuromancerV3).thumb.png.ab6d14a1626813d7c616dcb0db765b89.pngSnow Crash:

1094931191_ChronoTrigger(SnowCrash).thumb.png.bfabd81b642034e67904b0d547bbf7c4.pngRazorgirl:

278178736_ChronoTrigger(Razorgirl).thumb.png.c3b8df9489239f987654d5b5bc2806e4.pngNo shader:

689440161_Batrider(noshader).thumb.png.cb4956d87b62dd3bcfc8ae6075fe923a.pngNeuromancer Vertical:

39113464_Batrider(NeuromancerVertical).thumb.png.ebc1ef5081658e10c6e729599c6b7d1a.pngSnow Crash Vertical:

706434079_Batrider(SnowCrashVertical).thumb.png.046abe800cadeb1b8a6320ab0825aecf.pngRazorgirl Vertical:

935196710_Batrider(RazorgirlVertical).thumb.png.84d9cf6e4fc6f1f2146d138de1da2d37.png

  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

Hey Zomb, love your shaders. I mainly use your shaders for PSX emulation, since that's the oldest console and games I own, but feel that they help them a lot in many situations.

I don't know if it's okay to make a request, but I figure I'd try in this forum where you update your Shader progress the most.

I've moved to using Beetle PSX HW libretro on Retroarch as my main PSX emulator, it works really well and appears to be the most accurate of hardware rendering emulators. The problem, though, is that Beetle PSX HW doesn't use the cg interface for shaders, it uses glsl instead. I've taken a look at the profiles you've made and the cg shaders they use and compared them to the glsl shaders available, either converted using cg2glsl or were manually converted. Most of the same shaders in cg appear to be in glsl, but, I don't think all of them are.

I was wondering if you could perhaps make your profiles work with the glsl side of things.

Link to comment
Share on other sites

I'm not sure what you mean by it not using "the cg interface". cg shaders definitely work just fine in Beetle PSX HW as that's what I use. None of these shaders (nor most CRT shaders in general) will work correctly if you're doing upscaling, if that's what you mean - they're designed for native resolution.

As far as converting them to glsl, no that's not possible. They depend on some shader passes that don't exist in glsl form.

As I said though, the shaders work in Beetle PSX HW. If you need me to send some screenshots, I can. All of the screens I've posted in here of PSX games are using Beetle PSX HW.

Link to comment
Share on other sites

Oh... strange. My Beetle PSX HW doesn't accept CG or cgp shader profiles. It uses glsl only and I've tried way too many times. Can you send some screenshots of your configuration?

EDIT: Nevermind, it looks like Beetle PSW HW will use CG shaders, if using software rendering only, not hardware rendering. Not sure why Beetle PSX HW is being used if you're only using the software renderer. In hardware, only glsl and glslp is allowed.

Edited by anontsuki
Link to comment
Share on other sites

Because software rendering is the most accurate of the bunch (though admittedly more resource-intensive), and there's no reason not to use the HW core regardless of what you're wanting to use. It gives you the option to mess around with the other renderers/options if you so choose (you can even do this on a game by game basis if you want, with "content-specific core options") but is also functionally identical to the non-HW core if you just set it to use the software renderer. If you're running at native resolution, which you have to be in order for any of these to work correctly anyway, you should be using software rendering to do that. If you want to use a hardware renderer and upscale, they wouldn't work correctly regardless of whether they're CG or GLSL, because nothing would scale correctly either way.

Link to comment
Share on other sites

Sorry dude.

The same is true for pretty much any CRT shader. The scanlines/aperture grills have scaling values, and those are based on native resolution. They don't really work on anything above that. Typically you're just making the choice between a CRT aesthetic or an HD (upscaled) one when it comes to things like PSX and N64, not an "HD CRT" if that makes sense. If I'm actually upscaling something, typically I just throw an AA shader in top, if anything. I just prefer native (plus CRT shader) overall for this generation (and earlier) of games.

Link to comment
Share on other sites

Could an HD Crt shader be possible or do they just not exist because people haven't really wanted to mix higher rendering and the crt aesthetic before? For those 2D games, the CRT shader is really nice, and that's probably how I'll use the shaders you offer, but for 3D games or hybrid games, crt+higher res, I thought, would be a sweet combination.

You're very in the know about shaders and things, so you probably know best that I could ask.

I have a feeling though, I'll probably have to forfeit the thought about the combination of higher rendering resolution and crt shaders, which kind of sucks.

Link to comment
Share on other sites

You might be able to do something with a high absolute resolution/scale specified in the shader preset, but some brief testing didn't yield anything good.

I think typically your only reliable option would be to do something like a scanline overlay and not an actual shader. Those do exist. You can find some in the overlays\effects\scanlines folder. None of them look all that great though because they're just extremely basic - because it's literally just putting the image of scanlines on top; but this also means it doesn't care what the scaling is of the content underneath.

1934376103_RetroArchScreenshot2018_12.02-10_15_33_05.thumb.png.ea433a493229404baac7321b6509990f.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...