Mega Bezel Reflection Shader! - Feedback and Updates

@Tromzy my shader profile for psx:

#reference ":/shaders/Duimon-Mega-Bezel/Presets/SONY_Playstation/Playstation-[Rolling]-[Night].slangp"
HSM_ASPECT_RATIO_ORIENTATION = "1.000000"
HSM_SCANLINE_DIRECTION = "1.000000"
HSM_INTRO_WHEN_TO_SHOW = "0.000000"
g_crtgamut = "1.000000"
BP = "0.000000"

And that references a custom preset I made for Duimon-mega-bezel:

#reference ":/shaders/shaders_slang/bezel/Mega_Bezel/Presets/Experimental/Newpixie-Clone_Smoothed_Rolling-Scanlines.slangp"
HSM_ASPECT_RATIO_MODE = "2.000000"
HSM_BZL_NOISE = "10.000000"
HSM_FRM_SHADOW_OPACITY = "100.000000"
HSM_FRM_SHADOW_WIDTH = "50.000000"
HSM_FRM_OUTER_EDGE_SHADING = "40.000000"
HSM_LED_OPACITY = "100.000000"
HSM_NIGHT_OPACITY = "100.000000"
BackgroundImage = ":/shaders/Duimon-Mega-Bezel/Graphics/SONY_Playstation/Playstation.png"
DecalImage = ":/shaders/Duimon-Mega-Bezel/Graphics/SONY_Playstation/Playstation_Decal.png"
LEDImage = ":/shaders/Duimon-Mega-Bezel/Graphics/SONY_Playstation/Playstation_LED.png"

You’ll need to have Duimon-mega-bezel downloaded for this to work .

3 Likes

Very cool! :slight_smile:

Another thing I think is nice is the downscale blur that guest put in, combined with the scalefx it adds just a nice edge of antialiasing-like softness to the edges

Standard Preset with no blur

Standard Preset with Downsample blur on both x and y

3 Likes

Yeah, basically you should make a simple preset where you add the lines to define the images you want.

A simple preset is where you have a #reference line at the top pointing to the preset to load. After this you have lines which set parameter values and set texture paths.

For an example of this take a look at the night preset in the variations folder, it sets a background image. To get the names of possible background images look in the base preset.

To get Retroarch to create a simple preset for you just load the base preset then make parameter changes you want then save with “Simple Presets” on. Then you can add your texture paths by hand.

I’m the future in going to try to add choosing textures within retroarch :slight_smile:

Here’s the documentation for presets including Simple Presets

1 Like

@HyperspaceMadness I was wondering if you plan on adding an NTSC composite shader? I saw some parameters that mention composite but they don’t seem to have the effect that something like crt royale composite has. For example, removing dithering, like the waterfalls in sonic the hedgehog. I know there are other options to removing dithering in the parameters but they can cause artifacts sometimes.

1 Like

yeah I just wish there were a solution for white pixels. Basically anything that is white turns grey if it’s close to any other color. Maybe some kind of mask?

1 Like

Possibly, the composite that is in the current shader is from GTU which does some of the color smearing.

I did have ntsc adaptive set up to work with it (which is what the royale preset uses), but I haven’t used it in a while, I’m curious to see what Guest and Tatsua79 settle on as their happy place to see what I should add to the Mega Bezel.

3 Likes

Thank you very mych !! I just tried it and it’s really, really good. Might use it as my new general preset.

3 Likes

Newpixie’s rolling scanline shader is even better than the previous shader I mentionned in DKC2 :

But there is indeed an issue with the black color, as you can see in the second screenshot (the issue is solved in @passballtotucker’s preset).

4 Likes

@Tromzy. this is fantastic! I’ve been looking for an ideal preset for these games for a while. Could you share your preset?

2 Likes

Hey @HyperspaceMadness, can you tell us exactly which item you make this change?

1 Like

As I mentionned in my post, it’s just Newpixie’s Rolling shader that you can find in the “Experimental” folder in HyperSpaceMadness’ shader pack. That, or passballtotucker’s preset that he shared a few posts above (and for which you will need Duimon’s shader presets).

2 Likes

Hi @soqueroeu :smiley: it’s the following, set both of these to 100:

Scanline Dir Downsample Blur

  • Param name HSM_DOWNSAMPLE_BLUR_SCANLINE_DIR

Opposite Dir Downsample Blur

  • Param name HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR

I’m also putting a preset with this in the next update :grin:

2 Likes

There is a significant improvement. Compare:

Scanline Dir Downsample Blur: 0.00

Opposite Dir Downsample Blur: 0.00


Scanline Dir Downsample Blur: 100.00

Opposite Dir Downsample Blur: 100.00

Now an extra tweak here:

Scanline Dir Downsample Blur: 100.00

Opposite Dir Downsample Blur: 100.00

Scanline Dir Multiplier (X-Prescale for H Scanline): 150.00

Note: For all cases GT ON was 0.00.

Can you tell if this extra tweak would be harmful in any game? Because I thought it was much better that way for games like DKC.


By the way, I notice there are some artifacts on the edges of Diddy (lighter textures), but that’s not because tweaks done now. It seems to be something with Guest Dr Venom shader preset:

1 Like

image

Mega Bezel is updated to V 0.9.019 2021-06-23

Changes:

  • Renamed all base presets to shorten names, you will need to rename them in simple presets you have made, this means you will need to adjust your presets to reference the new names
    • Renamed STANDARD to STD
    • Renamed ADVANCED to ADV
    • Renamed BASIC-BORDER to BASIC
    • Renamed BASIC-BORDER-WITH-REFLECT to BASIC-REFLECT
    • Renamed GUEST-DrVENOM to GDV
    • If you are using Duimon’s presets he will probably update his repo soon and everything will continue working without you changing anything
  • Moved DREZ presets to their own folder
  • DREZ Presets now derez with mipmapping, so will avoid “pixel swim” and scintilating artifacts
    • This results in a softer downrez
  • Guest’s fast sharpen pass added to the preset to help sharpen after the downres softening
  • Variations
    • Newpixie-Clone now in variations folder
      • Set the black brighten to 0 to remove artifact seen by users
    • Smoothed-ScaleFX_Antialias.slangp added,
      • Adds the anti-alias type smoothing I showed recently
      • Also uses sharpening to bring back contrast at edges

Here’s a shot of the standard settings

Here’s a shot of the Smoothed-ScaleFX_Antialias.slangp preset

Here’s an example of the downrezing and sharpening

Here’s the original

Downrezed to 480p

Sharpened to bring back contrast

Downrezed to 240p

Same but with no display

Sharpened

9 Likes

Hey @HyperspaceMadness, I noticed that you also abbreviated Guest DR Venom to GDV. Did I have load failures due to this? :grin:

EDIT: Forget it, I messed up the file type during bulk replacement on notepad++

3 Likes

Hi. I was wondering if you’ve tried the Standard or Advanced versions with the DosBox Pure core. Retroarch closes the game when I attempt to use them. It does work with Basic Reflect though. I’m trying to determine if it’s my system or not. Thanks!

2 Likes

Hmm, I haven’t tried this no.

My guess is it’s related to image size.

Try seeing if the STANDARD HD-CORE preset works (in the Base_CRT_Presets folder) this one doesn’t have the upscale in the middle of the chain.

2 Likes

That one works. Thx! This shader is the best especially playing on an arcade cabinet!

2 Likes

Could it be the same issue as the one I have with Flycast ? If the resolution in Flycast is too high, the Standard and Advanced shaders crash RA, but the HD-Core versions work.

3 Likes

Cool! What kind of cabinet do you have set up?

3 Likes