I like this new setting to increase the rainbow coloring but I can’t get a good look on both the Sonic waterfall and the Street of Rage 2 spotlights in the second stage.
I guess it all comes down to your definition of “good look” that you’re aiming for. You’re trying to make a “stronger” looking rainbow perhaps? I haven’t tested the rainbow on any other games besides Sonic but I assume it’ll give a similar look to the pic I posted above. @Hyllian said in one of his posts it’s best to keep fringing at 0. Let me see how your Sonic and sor pics look if you don’t mind.
Streets of Rage 2 has that organic rainbow flicker that is hard to capture in screenshots so all of these look way more saturated than when viewing in real-time. Hopefully you get what I’m saying.
Here is the baseline Fringe 1, Artifact 1, Rainbow 0.
Now, Fringe 0, Artifact 0, Rainbow 1. It’s actually got more color in gameplay but now it’s static and the gradient is chunky.
Another way to see issues is to set Resolution Scaling setting to 0.98. First is baseline. Fringe 1, Artifact 1, Rainbow 0.
Next is Fringe 0, Artifact 1, Rainbow 1. (If set Rainbow to -1 I get the correct angles but the smooth gradient is destroyed.)
Here is Sonic for comparison with the new setting, Fringing at 0, Rainbow at 0.85. It looks great.
Hmm I’m not home yet to test this but I didn’t know you could get diagonal rainbows on 2phase games, maybe that’s just another option one can use, now I gotta test this and see all of this myself. If I’m not mistaken though the second pic is actually correct and how it’s suppose to look, at least that’s how it always looked when I used the “mame_ntsc” shader for my megadrive rainbow presets. I’ve come to learn there’s two “types” of rainbow effects you can get with 2-phased games, the first pic you posted and the second. That third and forth pic I don’t know what the hell is going on there lol.
I believe those rainbow looks are based off either certain Megadrive model types or certain type of cables used, forgot which but maybe someone can chime in if they know what I’m talking about.
Hi @guest.r
I am trying to use the following values on the first stock.slang to force 240 height output, in particular for PSX games as they tend to switch resolutions mid game.
scale_type_y0 = “absolute”
scale_y0 = “240”
When the above values are set in the guest advanved shader preset the output flickers and does not work as expecetd, can you please advise?
I’ve used this method successfully to force the video output in other crt shaders such as easymode, crt-geom.
Thanks.
It’s a bit tricky with guest-advanced shaders.
You must set the Internal resolution Y
parameter to 1.0 for 224p.
But I can also implement 200p and 240p and make a new release.
Altering presets the way you mentioned above won’t work properly, unfortunately.
Yes, that would be amazing if the height of 240p (plus other modes as you see fit) can be applied through a parameter toggle.
I played with the Internal Resolution setting of 1 however I find the 224p output for PSX games doesn’t scale well, 240p will work better.
As an example, if you load up Tekken 3 the PSX bios screen is a high resolution, then the Tekken 3 FMV intro plays which is a lower resolution, the title screen switches to a high resolution. When this happens you can’t achieve consistent scanlines.
Thank you @guest.r, I followed your advise and I managed to get rid of artifacts, I love how it looks.
Ordinary Glow and borders inferior and superior activated on emulator Genesis GX, no integer scaling.
Magic glow and borders inferior and superior activated on emulator Genesis GX, no integer scaling.
No borders activated, Magic Glow on and integer scaling set to 1
New Release Version (2024-02-06-r1):
Notable changes:
- Mask size of mask 3 fixed with mask zoom feature.
- Rainbowing options added to the ntsc shaders per @Hyllian’s advice
- Corner function improvement with wide aspect ratios (thanks to @DevilSingh for noticing).
- Update: Smart Scanline mode added, auto selecting 200p, 224p or 240p… downsampling (@shenglong) - check under Interlacing -> Internal Resolution -> set to 1.0
- Update: some parameter info lines changes
Download link:
https://mega.nz/file/I1gUybIK#U0Q2e_bpN-GulvJkSYsopYD-fg3UUXYzBdDNlhj6Mcw
Initial testing with this release and I think you’ve nailed it! Setting Internal Resolution to 1 forces the scaling of the scanlines to appear the same when the resolution switches between different heights, tested on Tekken 3 and the PSX bios screen and in-game scanlines appear consistently.
Don’t know what other dark magic you’ve done but the same preset works great on 2D games in MAME, SNES, Megadrive etc…
Getting closer to that “One Preset To Rule Them All”!
Will further test, but really appreciate your efforts and thank you again.
Was gonna ask what this was about but it seems shenglong just did. Putting the finishing touches on my next preset pack and it looks like you added in another juicy new feature, very curious to see this in action when I get home later.
You mean this?
This is the same preset with an alias and some different aspect ratio settings.
There’re quite a couple of recorded playthroughs on Original Genesis Console, but most specially with Rainbow Banding + composite video, in case any of these are useful for current presets or make new ones. All credits to their original authors.
Links in file: (all youtube) https://1drv.ms/t/s!AtKS8lBxejvUg2Z_fxWsiGEYu60P?e=Jjqqog
2-phase implementation in ntsc-adaptive is designed in a special way which brings vertical “rainbow bars” to alternate/checkboard patterns and natively not to bar patterns (Sonic waterfall).
Current tweak brings vertical “rainbow bars” to bar patterns, but messes with checkboards.
My best guess is that in the case of a composite connection, the coloring of Genesis games also depends on TV demodulation and region.
This Last update I’m really enjoying the automatic scanlines and I’m really impressed, looks stunning on 1080p.
Looks really nice. Will you update your 1080p preset in your thread or mind sharing it here
Thank you! Right now I’m not at home, the 1080p settings are from my mobile phone, when I’m at home I can share it, also update it
Does the rainbow effect also occur in the RF signal?
It’s even intensified regarding ntsc-adaptive shaders. I assume, since RF has more intensive color artifacts, that the same happens in the case of real HW.
Here are some real HW comparisons (Sega Genesis):
Composite:
RF:
New Release Version (2024-02-10-r1):
Notable changes:
- Mask size of mask 3 fixed with mask zoom feature.
- Rainbowing options added to the ntsc shaders per @Hyllian’s advice
- Corner function improvement with wide aspect ratios (thanks to @DevilSingh for noticing).
- Update: Smart Scanline mode added, auto selecting 200p, 224p or 240p… downsampling (@shenglong) - check under Interlacing -> Internal Resolution -> set to 1.0
- Update: some parameter info lines changes
- Update2: NTSC rainbowing options added / improvements
Download link:
https://mega.nz/file/Rth3hCaA#xHvJ_W_NG6GgK740BU9hxrJt6OXaNihye7EwkimCAek