Mega Bezel Reflection Shader! - Feedback and Updates

Yeah, any of these suggestions are just options, not something to be forced.

You could probably do the same as the interlacing check some shaders do, which is to assume anything >400 or so vertical lines must be TATE, though you’ll hit false positives on any interlaced content. That’s fairly easy to toggle out, though, and would only require core presets on the handful of consoles where interlacing was common (e.g., PS1/2, Saturn).

1 Like

Ok thanks, that’s a good idea. I was thinking maybe I could check the ratio of horizontal resolution over vertical to determine if it’s horizontal or vertical.

Do you know if it’s possible if any of the cores outputting interlaced have the option of outputting progressive scan instead?

That is one reason I continue to use the official MAME binary as it handles horizontal and vertical aspect ratios much better, you can have a horizontal and vertical ini file to target and customise visuals for each display output.

Yeah I wish we could have something like that in retroarch. I’ve gone almost 100% retroarch for mame because of the shader support.

Yeah just a shame the run ahead feature isnt supported by MAME :frowning:

Will you be using Guest.r new shader, CRT - Guest - SM ???

I haven’t played with the shader yet, I’m not sure how new it is, but I would probably wait before integrating a new shader until its been around for a little and changes have settled down.

This brings up the issue of creating other versions of people’s shaders where the only difference is the added scaling. This isn’t a great situation because this edited shader won’t get updated automatically when the master one does.

Ideally the actual shader in the repo would be updated to integrate the scaling, and the bezel reflection preset would just use the master shader.

Is there a way to disable or hide the scanlines completely? I don’t plan to use scanlines in high-res games but i would still like to use the reflection bezel with them.

There might be, this is the Guest Dr Venom shader, so you could look into that shader about how to reduce the scanlines, There is a readme in the guest folder explaining the settings you could take a look at.

1 Like

Latest Mega Bezel Reflection shader update is up!


  • Automatic switching to vertical aspect/scanlines based on content. Thanks @GemaH for the suggestion!
  • The default is to automatically switch both aspect ratio and scanline direction, but both are adjustable to specifically set aspect ratio or scanline direction
  • This causes a little bit of an issue of the reflection clipping bounds not matching exactly the vertical bezel, but I will fix this after I improve the mapping of the reflection all around the tube so we can get the reflection faded out nearer the edges. It is of course still possible to just copy the preset and change the reflection clipping values.

I downloaded the package in the first post and the guest folder is missing, did I miss it?

1 Like

You can just take the CRT folder in the pack and dump it into the Slang shaders CRT folder.

So copy the CRT folder in the pack, then go to the slang shaders folder in retroarch open it, then paste the CRT folder you copied, tell it yes you want to overwrite or w/e.

I imagine it’s not included to decrease file size, decrease confusion and having multiple copies of guests shader if people just want to add it with the rest of the retroarchs shaders.

Got it to work

Is there any way to change the position of the output? I have a PVM overlay and I thought it’d be cool to have a shader to match.


Might be able to to change in retroarchs video settings… Not really sure.

That would look pretty cool if you got it aligned right.

Completely unrelated, but have you made themes on the retropie forums?

Not yet but this seems like something that’s needed, so I’ll probably add it sometime soon.

1 Like

Yeah, seems like it may be needed, I kinda like image-adjustment for that stuff personally.

Yep, same Lilbud as the retropie forum

1 Like

I think I got it, I’m definitely going to make a better looking overlay as the current one isn’t really all that good. I can probably get a little nicer looking frame.


I have one more suggestion, should be an easy one.

Having the “image-adjustment” shader (from the “misc” folder) as the first shader in the chain, you can apply it’s effects in the whole shader. The only effect i’m interested is it’s brightness boost. unlike similar options in the other shaders, this one also increases the scanline brightness in the black color. This way you can have visible scanlines in areas that don’t have graphics like this:


You can see in the empty, black area, the scanlines are slightly visible. This is how my real CRT arcade monitor looks like. And the more you increase the brightness, the more visible the scanlines become. Without this you just get a black area without scanlines and no option can make them appear.

Adding the image-adjustment shader in the chain is a bit of a pain because in order for this effect to work it has to be the first one. And because there are 17 shaders in total you have to manually change all the numbers in the shader preset cfg file, one by one (each shader has a few numbers to change). RetroArch doesn’t let you add a shader slot as the first one or any other spot, it always adds extra slots as the last one :frowning:


Did the x/y modifiers work correctly with image-adjustment when you did this?

The scanline thing is honestly REALLY COOL to know, so thanks for that!