Mega Bezel Reflection Shader! - Feedback and Updates

Yes this is a good idea, and not currently supported. I have a plan to add this to retroarch a bit later, the way it would work is you would put “[game_name]_Background.png” as a texture name for instance then [game_name] would be replaced by the game name that retroarch knows about. It would also probably support [core_name] as well.

Ha ha, those sound like some famous last words!!! :rofl:

I do think it won’t be really hard to implement although it will be some work because we have to do things like check if the textures are actually there and if not fall back to a default texture.

Anyway you can be confident it’s on my list of TODOs :grin:

1 Like

This will also fix the PSP issue we talked about a long moon ago. (In case you were keeping track. :wink:)

2 Likes

Thx dude, i hope my words did not sound bad in any way, as i really appreciate the work you’re doing.

Maybe you should think really well about it and make the correct movement, because there are many ways to implement it (as you said, go to a default preset if there is nothing found), and also i would like to suggest some more: If you support folders instead filenames (or game_names), you could add multiple overlays to the same folder, so you could change then between them, and it would be easier to manage because you dont have to rename anything, it just will load any image inside the “target” folder which is the filename. Then you can drop a huge ammount of wallpapers and backgrounds per game without worrying if the names are correct, or not. I already worked in DB and batch renames like bulk, but i think this is easier to implement and also, to manage. You could have a default texture, under that, a core texture, and under that, a game texture. I think that would be the best way to make it smart, just expressing some ideas, i’ll leave in your hands :slight_smile:

1 Like

No not to worry :slight_smile:

Yes there are some different options. Right now the plan is to operate only on the texture paths at first, and it would be able to operate on any part of the path so you could set the path in the preset file to “[game_name]/MyBackground.png” and if you are playing Arkanoid it would look for “Arkanoid/MyBackground.png” if it could not find that texture it would look for “default/MyBackground.png”

So it would be possible to have the same names in each folder and just change the folder name.

I think this will be a clear way to do something specific with the current game name and core name and then have a fallback if what is requested can’t be found.

3 Likes

Hello, first of all CONGRATS for this piece of art, it is wonderful.

I can confirm the problems that @SLOTH has, in my case, also FB Neo (current) is affected in the same way, but not HBMAME 220. I run Retroarch latest, both Cores latest, HSM Mega Bezel (both August package and GitHub latest), identical Retroarch settings and identical ROM 1942b.

If I am not mistaken, FB NEO forked from an older version of MAME, which would explain the identical problems with MAME2003. But since FB NEO is running a current romset, the problem is not only legacy.

Edit: I also downloaded MAME current, which is 226, and it runs correctly just as HBMAME.

Screenshot HBMAME (same with MAME Current 226:

Screenshot FB Neo:

Luckily I found this problem here because FB Neo drove me nuts…

Happy to help on anything.

Cheers!

Here’s what I get on FBNeo with standard Mega Bezel

After turning on the rotation parameter in the shader I get this:

I renamed my retroarch config so I would get fresh settings and in the core options I have Vertical Mode ON

If I turn Vertical Mode OFF I get this, which seems to match what you are getting, where the whole viewport is being rotated on it’s side.

1 Like

I got it, in the case of the CRT-GEOM Hyperspace Shader, this did the trick:

  1. Set the FB Neo Core option to Vertical Mode - interim result:

  2. Rotate everything in the Shader Options (HSM_ROTATE_CORE_IMAGE = “1.000000” ):

Looks like a charm now, also in FB Neo :slight_smile:

Many thanks for the immediate help!

3 Likes

Dude, if you can rotate only the scanlines now, maybe the result will be a little better because it is a vertical “monitor”.

1 Like

For Guest-Dr-Venom the scanlines should automatically rotate. Royale does not currently have the option to rotate the scanlines.

You can change the scanline orientation (On the mega bezel presets that support it) by changing the scanline direction you can have Auto, Horizontal or Vertical

1 Like

Many thanks. If I am not mistaken CRT-GEOM currently does not support changing the scanline direction, right? So the change did not affect it. I switched to Guest-Dr-Venom, which looks brilliantly. I assume that I can do that with CRT-GEOM later down the road?

Edit: Just put one of John Merrit’s famous bezels into the slangp file, no other change in settings - it’s the future :slight_smile:

1 Like

Hmm, I’m not sure which preset you are thinking of, there isn’t currently one with CRT Geom integrated…

1 Like

Uh oh, mixing up with stand-alone MAME, I guess, remember crt-geom_vert there, will check, sorry.

1 Like

As requested, DMG is on it’s way!

This one really needs to be paired with Duimon’s awesome gameboy graphic.

Not so compelling on an overly brightened carbon fiber background :wink:

9 Likes

Nice! Well done my friend… Well done! :heart_eyes:

2 Likes

Is it very demanding to achieve that effect HyperspaceMadness? Love the inmersion it gives besides i think it helps to avoid any kind of screen burn in, im very curious how it would look with the bezel the same color of the console it plays and keeping the same glossy effect of the outside, do you think it can be done?

Hi, This effect is part of the Glass presets. Performance-wise this isn’t any more demanding than the full preset. In the next version coming the new Glass presets will not include the final pass which adds all the extra image layers, so will run faster than the full preset.

So you should be able to do this with the current version, by making the background image more opaque. In the new version it will have its own image to be applied.

In terms of what this actually looks like, it looks more like a semi transparent image on top of the background image.

2 Likes

I’m using a custom bezel set with Naomi but it has colourful frame, how can i use your shader with the bezel frame? I’ve been trying some settings but i cant make it work, i suppose there is a specific preset for that but i cannot find it. Any help here?

2 Likes

Could you post an image of what the custom bezel looks like so I can get a better idea of what you are trying to do?

1 Like

HSM, any chance we can get vector presets for your REFLECTION ONLY versions?

Or is there a way we can set this up on our own that I just haven’t figured out yet?

2 Likes

I think if you take the reflection only preset, make a copy, then replace the parameters line and all the parameter values with the ones from the vector preset you should get the same reflection & brightness characteristics as what is in the vector presets

2 Likes