Mega Bezel Reflection Shader! - Feedback and Updates

Yes you can do this no problem.

Just set your windows desktop to portrait, and make sure the retroarch video aspect ratio is still set to FULL.

You may also want to set the Preset is for Monitor Portrait Mode to 1 if you are going to use it with an arcade type vertical graphic

1 Like

For the glass presets, is there any way to have the borders be a blown up version of the game window as opposed to reflections? Something like this (quick PS mockup).

2 Likes

Yes there is a reflection scale parameter, just increase it and voila

Here it is before:

Here it is scaled:

Here it is on driving games:

2 Likes

Okay, modified it. Is there a way to remove the little edge on the frame and the diagonal strip in the reflection?

2 Likes

Yeah, start with the Glass-Minimal-Bezel-Edge__ADV-GLASS.slangp preset in the variations folder, and reduce the glass background opacity to 0.

1 Like

okay, think I finally got it where I want it. Thanks.

For settings, choose the minimal bezel edge, turn off curve and set integer scale to both axis and the scale to 1. For reflection amount set that from 100 to 150 (for 1080p

another image (excuse the weird timing, windows screenshot tool doesn’t work super well with RA

Heres the preset file if anyone wants it:

#reference "shaders_slang/bezel/Mega_Bezel/Presets/Variations/Glass-Minimal-Bezel-Edge__ADV-GLASS.slangp"
HSM_ASPECT_RATIO_MODE = "5.000000"
HSM_INT_SCALE_MODE = "2.000000"
HSM_INT_SCALE_MULTIPLE_OFFSET = "1.000000"
HSM_CURVATURE_MODE = "0.000000"
HSM_SCREEN_VIGNETTE_ON = "0.000000"
HSM_TUBE_SHADOW_IMAGE_ON = "0.000000"
HSM_SCREEN_REFLECTION_SCALE = "150.000000"
HSM_REFLECT_NOISE_AMOUNT = "0.000000"
HSM_REFLECT_NOISE_SAMPLES = "0.000000"
HSM_REFLECT_NOISE_SAMPLE_DISTANCE = "100.000000"
HSM_GLASS_BORDER_ON = "0.000000"
HSM_REFLECT_VIGNETTE_SIZE = "50.000000"
HSM_BG_BLEND_MODE = "0.000000"
2 Likes

Anyone have any experience running HSM with the latest AMD drivers/GPUs? I’m having a hell of a time running with Vulkan, HDMI 2.1 @ 4k 120hz without any shaders (frame skipping) and HSM crashes Retroarch. At my wits end and am considering returning my RX 6650 xt. :persevere:

1 Like

Don’t return it just yet. What graphics card did you upgrade from? Did you use DDU before changing graphics cards?

What preset are you trying to use in HSM Mega Bezel Reflection Shader?

What core?

Are you using Native Internal Resolution?

Is the graphics card stable under Unigine Haven, FireStrike, Blender and other benchmarks, stress tests and games?

Lastly, can you post a log file?

Yeah, I did the whole shebang. I’m pretty experienced with PC hardware and even though I had some mild issues with AMD (ATI) in the past, I decided to give em a chance. Opengl is stable but then I can’t use HDR. Funny enough I got it mostly for RetroArch since I ended up getting a PS5 during the GPU shortage and don’t intend to spend too much to play mostly the same games. Worse yet, VRR doesn’t work on AMD with my LG C9 (wish I did more research).

1 Like

How quickly does it crash? You can try lowering your GPU and VRAM clocks and see if it there is any improvement. Alternatively, you can try lowering the VRAM Clock for the highest P-State then increasing the voltage even all the way and see if it still crashes using AMD Adrenalin Driver’s Performance Tuning section.

The games run fine they don’t crash unless I try to load HSM which I think it means AMD has issues with Vulcan. HSM loads just fine under glcore. But as I said before I can’t use HDR with glcore and so it’s kind of a gimped setup. Anyway thanks for chiming in.

1 Like

Hello! I have a little problem… When I want to play arcade games in 4:3 aspect I have no problem… as seen in the image below… the game runs perfectly and the background image looks fine.

Now the little problem I have is with shooting games. When starting the game, the screen automatically puts it in the aspect ratio of the shooting game I use, in this case the game is Dogyuun, but the same thing happens to me with all shooting games… for me this ratio is perfect aspect… but… my little problem is that it doesn’t detect the background image that I put in the game and by default it shows the black background image that you see below…

My question is what should I do to see the background image in this aspect ratio? By the way, here is an image of how I have the configuration with which I load the shader.

That’s the little problem I have with the background image.

2 Likes

For Vertical style games the Background Image is set as BackgroundVertImage. So just change BackgroundImage to BackgroundVertImage in the file.

2 Likes

Thank you!!! Now it works wonders!!! :star_struck:

7 Likes

Yeah, you can also set both BackgroundImage and BackgroundVertImage to the same thing and the background will stay constant.

3 Likes

Hello, remind me how is the configuration for vertical games in FBNeo please. Game: 1942 Video Scaling: Integer Off / Aspect Ratio Full / Crop Overscan On

When applying shader aspect ratio vertical and in the Core options I activate the Vertical mode, it looks like this

1 Like

So what you want can be achieved by:

And for FBNEO turn off vertical mode.

One last note is that you need to set the Rotate CRT Tube parameter to 1

In the presets/variations folder there is a preset already set up like this named FBNEO-Vertical__STD.slangp

7 Likes

Don’t forget Flip Core Image Vertical and Horizontal have to be set to 1 as well.

1 Like

Thanks a lot. Rotate CRT Tube is what I needed

when applying this, I get upside down

1 Like

On my end I have to set both to 1 because if I don’t than it’s upside down. Found that you only have to do it on select games, ie it had to be done for Dig Dug but not 1942.

1 Like