Koko-aio shader discussions and updates

Looking good. Perhaps others could try it and report back?

I thought the only way to get a consistent effect with the PGRID is to find standard levels to use based on the resolutions where you run the content, for example a PGRID slotmask or aperture grill tuned for 1080p, or 2K or 4K , trying to keep more or less a narrow dot grid. I actually noticed what you wrote when trying to run GameBoy Advance games. Already the grid using the arcade games (I played Marvel Super Heroes arcade version this weekend) was even more beautiful and pleasant. If you could find a way to play that grid across all content it would probably be the perfect answer to emulating all the old consoles. I’m fantasizing.

1 Like

Thanks, Maybe i’ve also understood what is the misalignment and the bleeding you were speaking about?:

slotmask wip preset gm mask, halo bloom, bleed misalignment mitigated

#reference “…/koko-aio-ng.slangp”

shaders = "17"

DO_CCORRECTION = "1.000000"
GAMMA_OUT = "0.500000"
OFFSET_STRENGTH = "0.500000"
DO_IN_GLOW = "1.000000"
IN_GLOW_POWER = "1.699999"
IN_GLOW_GAMMA = "2.000000"
IN_GLOW_W = "3.500000"
IN_GLOW_H = "7.000000"
DO_PIXELGRID = "1.000000"
PIXELGRID_MIN_W = "0.300000"
PIXELGRID_MAX_W = "0.400000"
PIXELGRID_H_PRST = "1.000000"
PIXELGRID_MIN_H = "0.300000"
PIXELGRID_MAX_H = "0.700000"
PIXELGRID_Y_MASK = "1.000000"
PIXELGRID_Y_MASK_COORDS = "0.000000"
PIXELGRID_Y_MASK_HEIGHT = "-2.000000"
PIXELGRID_Y_MASK_ON_WHITE = "0.650000"
PIXELGRID_Y_MASK_SHIFT = "0.230000"
PIXELGRID_Y_MASK_STEEP = "16.000000"
DO_HALO = "1.000000"
HALO_POWER = "0.400000"
HALO_W = "3.500000"
HALO_H = "3.500000"
HALO_GAMMA = "1.300000"
HALO_VS_SCAN = "0.150000"
DO_BLOOM = "1.000000"
BLOOM_MIX = "0.150000"
BLOOM_SIZE = "3.500000"
BLOOM_QUALITY = "2.000000"
BLOOM_GAMMA = "10.000000"
BLOOM_GAMMA_OUT = "10.000000"
BLOOM_POWER = "10.000000"
DO_CURVATURE = "1.000000"
GEOM_WARP_X = "0.480000"
GEOM_WARP_Y = "0.510000"
GEOM_CORNER_SIZE = "0.010000"
GEOM_CORNER_SMOOTH = "200.000000"
DO_BEZEL = "1.000000"
BEZEL_INNER_ZOOM = "0.000000"
BEZEL_FRAME_ZOOM = "0.174000"
AMBI_FALLOFF = "0.400000"
AMBI_POWER = "1.000000"
DO_DYNZOOM = "0.000000"
V_SIZE = "2.500000"
V_POWER = "1.000000"
S_POSITION = "194.000000"
ALT_BLANK_STRENGTH = "0.000000"

Old:
image

New, mitigated:
image

6 Likes

Wow. Looks fantastic! I really love it!

3 Likes

It’s always difficult to put observations into words on a forum, rather than a convo…but yes, you understood, and the new screenshots look pretty awesome! Glad to be able to feedback and contribute.

Looking forward to the new setting you dialed in to be added to the ng presets.

2 Likes

Maybe the previous one was more fascinating, but unfortunately it was way too dark and a bit dull with other games. This is another version that probably needs some other work to mitigate moiree.

Brighter.

**slotmask wip preset gm mask, halo bloom, bleed misalignment mitigated, brighter**

`

#reference "../koko-aio-ng.slangp"
DO_CCORRECTION = "1.000000"
LUMINANCE = "0.200000"
GAMMA_OUT = "0.500000"
OFFSET_STRENGTH = "0.500000"
DO_IN_GLOW = "1.000000"
IN_GLOW_POWER = "1.699999"
IN_GLOW_GAMMA = "2.000000"
IN_GLOW_W = "3.500000"
IN_GLOW_H = "7.000000"
DO_PIXELGRID = "1.000000"
PIXELGRID_MIN_W = "0.050000"
PIXELGRID_MAX_W = "0.800000"
PIXELGRID_H_PRST = "1.000000"
PIXELGRID_MIN_H = "0.250000"
PIXELGRID_MAX_H = "0.700000"
PIXELGRID_Y_MASK = "0.600000"
PIXELGRID_Y_MASK_COORDS = "0.000000"
PIXELGRID_Y_MASK_HEIGHT = "-2.000000"
PIXELGRID_Y_MASK_ON_WHITE = "0.100000"
PIXELGRID_Y_MASK_SHIFT = "0.230000"
PIXELGRID_Y_MASK_STEEP = "16.000000"
DO_HALO = "1.000000"
HALO_POWER = "0.430000"
HALO_W = "3.500000"
HALO_H = "3.500000"
HALO_GAMMA = "1.000000"
HALO_VS_SCAN = "0.250000"
DO_BLOOM = "1.000000"
BLOOM_MIX = "0.500000"
BLOOM_GAMMA_OUT = "0.999998"
BLOOM_POWER = "1.000000"
DO_CURVATURE = "1.000000"
GEOM_WARP_X = "0.480000"
GEOM_WARP_Y = "0.510000"
GEOM_CORNER_SIZE = "0.010000"
GEOM_CORNER_SMOOTH = "200.000000"
DO_BEZEL = "1.000000"
BEZEL_INNER_ZOOM = "0.000000"
BEZEL_FRAME_ZOOM = "0.174000"
AMBI_FALLOFF = "0.400000"
AMBI_POWER = "1.000000"
DO_DYNZOOM = "0.000000"
V_SIZE = "2.500000"
V_POWER = "1.000000"
S_POSITION = "194.000000"
ALT_BLANK_STRENGTH = "0.000000"

It does look worse with altered beast, but better with others (eg: final fight).

I’m starting to think that some game colors were tuned for specific crt or crt calibration settings, or maybe that there were no solid standard to rely on, could it be?

One size fits all seems not possible.

Feedback please?

5 Likes

Altered Beast and other arcade games by Sega or e.g. some Konami games look imho kinda strange by default when viewed on modern displays, they benefit from e.g. adjusting gamma, sometimes you can also find footage from real hardware that indicates this is likely more accurate. Sometimes you can see this when you compare the ports, with Altered Beast and the Genesis / Megadrive this isn’t quite the case though (But then, most people would see it through composite by default…)

1 Like

This.

Unless you can find that one setting that slices all scenarios equally through the middle.

An example of this is Capcom Arcade games. They look great with reduced Gamma. Then if you try those same settings on SNES or other consoles, they’ll look too dark. If you take a highly optimized SNES preset and use it for NES, it’s very likely going to look highly oversaturated.

So one size fits all might be possible but it will probably have to be less than optimal in many areas.

1 Like

Thanks @Jamirus @Cyber, very informative.

(Darn.)

1 Like

You’re welcome. I noticed that you’re an LG OLED user like myself and I was wondering if you implemented any special considerations for their mask layouts as there are in CRT-Guest-Advanced and Sony Megatron Color Video Monitor?

They don’t display RGB triads properly compared to regular LED/LCD panel if not coaxed accordingly.

You can read more here:

Not really.

On 4k display, I think we should forget about subpixel masks and rely on the room we have to emulate phosphors and their surrounding instead, That’s the way i’m taking with the new ng/low level phosphor emulation thing.

Maybe I’m doing all wrong, who knows, but i was astonished by the look of this on 55’’ lg c1 with vivid mode, so i’m optimist!

2 Likes

Okay, it might still be some good background information/reading just in case you find these topics interesting.

Or maybe not? How do your macro/close up shots (photos not screenshots) look? Especially of white or grey emulated elements?

1 Like

Indeed I thank you for those links, I think I gave them speedy read time ago, but I will do it again deeply.

As for the shots, my pc isn’t hooked to that display, so it’s a bit problematic everytime.

But why you asks for them, i’m unable to see the submask with that 55’ even at 1meter, so i think it is not / cannot be an issue. What I can tell you is that I showed it live to an ignorant friend, same age of me, and it just said ‘wow’ woth a weird expression on his face lol. If you are used to oled, maybe you will not be that surprised, but you could give it a go, even by just loading the screenshot on your oled if not the whole preset (I may have changed a thing that screwed it today, not sure/have to check), and see by yourself if it is really something or just a matter of my initial impression.

1 Like

Well this would depend on what TVL CRT you are looking to represent as well as viewing distance and personal preference as going up close to the screen and seeing those triads can remind one of the nostalgic times.

It might also help from a technical perspective as well, some good examples of this are the comparison shots on the Sony Megatron Color Video Monitor thread (the first post has many) and some comparison shots with a real CRT posted on @RetroGames4K thread, which I also reposted on Reddit in the CRT Gaming subreddit and even the folks over there couldn’t pick the CRT from the CRT Shader.

I’ll give it a check sometime soon. Possibly later. I was looking forward to trying it on my broadwell IGP laptop whenever I get around to repairing it.

2 Likes

The other thing to keep in mind is the default color temperature in different regions. This is what I found from Google:

The color temperature of most home TV sets is considerably higher than 6,500K – commonly 7,100K in the United States and **9,300K** in Japan.

I find increasing the color temp on a lot of games helps get rid of the yellow cast that I don’t think we should be seeing

3 Likes

1 Like

Looking good - will play.

1 Like

Small tweaks to your settings posted above:

LUMINANCE = “0.300000” CONTRAST = “0.050000” TEMPERATURE = “7000.000000” GAMMA_OUT = “0.530000” SATURATION = “1.050000” DO_SHIFT_RGB = “1.000000” OFFSET_STRENGTH = “0.200000” IN_GLOW_H = “5.999996” PIXELGRID_Y_MASK_SHIFT = “0.230000” HALO_POWER = “0.500000” BEZEL_REFL_STRENGTH = “0.200000” DO_BG_IMAGE = “1.000000” DO_VIGNETTE = “1.000000”

4 Likes

Damn you, looking good!

I’ve had just pushed mine with modifications; more or less resambling yours (more colors, more gamma, vignette and so on), but it seems your settings are better.

I’ll turn the color slightly colder as you and activate decon.

4 Likes

Last tweak from me:

CONTRAST = “0.050000” TEMPERATURE = “7000.000000” GAMMA_OUT = “0.530000” SATURATION = “1.050000” DO_SHIFT_RGB = “1.000000” OFFSET_STRENGTH = “0.200000” IN_GLOW_H = “5.999996” TATE = “1.000000” PIXELGRID_INTR_FLICK_POWR = “0.150000” HALO_POWER = “0.680000” BEZEL_CON = “5.000020” BEZEL_REFL_STRENGTH = “0.200000” DO_BG_IMAGE = “1.000000” DO_VIGNETTE = “1.000000”

1 Like