Mega Bezel Reflection Shader! - Feedback and Updates

Wouldn’t be better to fix a shader instead of writing a new one that does the same?

1 Like

Sorry, what do you mean ? fix “image-adjustement” shader ? i dont think it’s broken, it just dont crop the same way as the @HyperspaceMadness shader i think. It add some distortion when you stretch, like if you stretch the image by “tiles”, but HSM stretch the image perfectly.

I’m not a developper, so if u tell me that is not simple to just keep a function of a shader, i ll trust you. At least how can i disable all the features of HSM but “crop”. Cause i can disable the grade color and some feature, but i cant totally disable the scanline effect.

Sorry if i’m not clear, english is not my mother tongue.

1 Like

Ok, screw that, the quoted text led me to think the shader wasn’t working as intended.

If you think it is working as it should, then no need to fix anything.

1 Like

Not sure about that but you could use the Potato preset, with a transparent background.

I copied the “\shaders\shaders_slang\bezel\Mega_Bezel\shaders\textures\Placeholder_Transparent_16x16.png” to the “/shaders” folder and renamed it “cropping.png”.

Then I created this preset.

cropping.slangp

#reference "shaders_slang/bezel/Mega_Bezel/Presets/Base_CRT_Presets/MBZ__5__POTATO__PASSTHROUGH.slangp"
HSM_ASPECT_RATIO_MODE = "6.000000"
HSM_CURVATURE_MODE = "0.000000"

BackgroundImage = "cropping.png"
BackgroundVertImage = "cropping.png"

It simply uses a “Full” aspect ratio and no curvature.

I tested it and it works for cropping as expected. Should work fine on a CRT using “Full” aspect in the scaling settings of RA.

1 Like

I got a similar result when trying the image-adjustment shader so you’re not alone.

It looked nothing like the crop feature in Mega Bezel Reflection Shader.

However, there’s a newer version of the image-adjustment shader which was modified by @hunterk I believe which is called img-mod.slang. You can access it via the img-mod.slangp.

I think that works much better.

Then I’m seeing another one called scaling.slang by fishku which talks about Cropping on each side and Centering of image after crop has been applied e.t.c…

it’s weird when i use your preset or just any “passthrough” presets directly, that does the same ugly tiles tearing effect when i use the cropping, i use the 240p suite screen scroll for my test. but if i use the others non passthrough, the image stretch uniformly.

i’ll make some videos tomorrow, i must go to sleep. Thank for helping

i tried the “img-mog” like you said, and its not perfect but not bad. you cant crop at pixel perfect like HSM and there is a curvature only removable by setting the value to 10, and there is a little tiny curve visible at bottom. Thank you for helping too

What about this one?

Sorry @Cyber , i forgot to mention that i didn’t found that scaling.slang by fishku

1 Like

Or, okay. be sure to update your Slang shaders using the online updater. In my installation it’s in:

\RetroArch\shaders\shaders_slang\misc\shaders

Then there’s also a sub folder in there called

crop_and_scale

which contains

crop_and_scale.slang

and

parameters.slang

I just have a feeling that one of these might be exactly what you’re looking for.

Ok, i dont know how to use or integrate these “slang” files, but reading the crop_and_scale.slang, it say to use the border/blur_fill shaders for example. i tried it and someway i can crop but it’s limited “i can’t stretch”. So if you know how to use properly those “slang” files tell me, if not don’t worry i will keep digging.

I appreciate your help

1 Like

Ok after digging a little i found a solution, i changed the existing img_mod shaders and others include file ( removed the useless curved and other features GPU consuming…). So now i can stretch at pixel with just +1% shader GPU charge and fast loading.

I don’t know what i am doing but hey, it works ^^

if someone want to try it -----> https://mega.nz/file/rZ5GkCoL#UoWgWsYYJtz8WVDN2_0tbBJYn2GY15LzAG7bus1ioxE

1 Like

Hello friends, some time ago i posted a Screenshots using Duimon with Mega Bezel shader, but after i updated HSM, i have this result, some weird Scanlines on screen.

Look now these stranges black lines on Screen

Anyone know what happen? Im using Dosbox-pure 0.9.9 and Retroarch 1.17 with uptodate HSM and Duimon shaders…

2 Likes

The screen size is smaller, that could have something to do with it. Most likely your screen resolution on the emulated Windows is higher that your first shot. I would recommend disabling any mask in the guest settings near the end of the parameter list. PC monitors used a “dot” mask anyway, with a very high dot pitch. You couldn’t actually see the mask. You can also turn off scanlines if the mask solution doesn’t fix it. Games will probably use a lower resolution, so in that case I would ignore it.

1 Like

Hello friend, to solve this temporary, i changed resolution to 640x480 / 800x600 everything is fine, just on 1024x768 and higher this problem appear…

Look… 800x600

On 1024x768

3 Likes

Exactly. Game resolutions should all be 800x600 or lower so, if the look of the desktop bothers you and you can’t…

…keeping it at this resolution is the way to go.

2 Likes

Hello.

I wonder if a gaming console like a RG35XX plus can run Mega Bezel? Is still too heavy for this kind of hardware?

1 Like

It might be possible without all the bells and whistles but you’ll have to find a very lightweight base preset to try out. Something in the MBZ__5__Potato tier.

Within that tier there are a few shaders you can try for example GDV-Mini and Sony Megatron. I’m not sure if a ZFast Preset also exists but you can look and see.

2 Likes

My AYN Odin 2 Pro cannot run the Mega Bezel STD or Lite, but can run the Potato.

I am not sure if it is because it doesn’t have the raw power or if it is a driver/shader compilation issue.

It has a massively more capable GPU so I doubt the RG35XX can cope.

With the koko-aio shader acting as a spiritual successor to the legacy Mega Bezel, and able to run on low spec devices, I personally think the burden of performance on the Mega Bezel is reduced a bit.

I know @HyperspaceMadness is wrestling with some potential methods to improve performance, but there is room in the world for a AAA shader vs an entry level one.

But… I don’t pretend to speak for the illustrious shader wizard and his mind works in ways I cannot comprehend. :star_struck:

2 Likes

What might be nice would be a new performance tier or Potato base preset targeting similar hardware to koko-aio or even referencing koko-aio with maybe a few Mega Bezel quality of life features or twists.

So in other words koko-aio integration in Mega Bezel Reflection Shader.

1 Like