Yet, another CRT Shader

Great shader Hyllian, nice to see it constantly being improved upon. Would it be at all possible to add slightly curved edges and rounded corners to the display in the next release?. I know you can add the shader crt-geom-curve.cg but that is too server for my liking and really like the ideas of the shape of an old crt screen.

One other thing is there a way to add more brightness to the screen, I like my scanlines slightly more pronounced and have edited the value to 1.2 in your shader but obviously this kills the brightness of the screen, is there a way to make the screen ‘pop’ more like a crt glow?

I use: #define OutputGamma 3.0

it makes it look as bright as I remember.

Thanks, im like the value of 4.0.

Now just need a nice curved edge and rounded corners =D

Thanks, im like the value of 4.0.

Now just need a nice curved edge and rounded corners =D[/quote]

Use crt-interlaced-halation or crt-geom-flat for that.

yeah i know about them but the curve is too much, would like is more subtle

I won’t add curvature options to this shader, because imo, it only degrades the img. This shader has the objective to provide the best img quality in a crt style and a good speed. So, for accuracy, I indicate crt-geom shader family.

For the brightness, you can tweak the saturation options inside the shader or combine with maister’s glow shaders.

No sorry i dont me curve to the actual screen, i mean just around the edges of the screen, like a bezel the old CRT screens have

Thanks for the new bloom effect. However it seems to alter the regularity of the scanlines on my configuration. It’s particulary visible on vertical scrollings. Is it intended to work on a fixed resolution like x4 or something ? i use integer scale my resolution is 1920x1200 so i must be in a 5x scale

http://i.imgur.com/ggYyV7u.png http://i.imgur.com/8GcREvX.jpg

Hmmm when i put the bloom.cg shader as the 2nd pass (after Hyllian ctr shader) i dont get an effect from either shader, any ideas?? But removing the bloom.cg 2nd pass and then hyllians shader works once agian

In fact i was talking about a recent bloom folder that was in the repo wich… has already disappeared !!?:confused: Are you talking about the on int the mudlord folder ? if so put crt-hyllian fisrt change the scale factor then add the bloom effect. I’ve tested it works but the result is average

Hmm im using lordashram’s nightly builds…

https://www.dropbox.com/sh/91sakv0qdyxjx9f/cGOfV7ZOKd

and that latest one has the bloom folder, with 3 files inside bloom, inearize, and shittybloom. I didnt know the was bloom in the mudlord folder is that the one to use then, what scale factor is best to use?

Lol ok i don’t know about this version. I think it’s a really experimental shader… that why it’s well named “shitty” it’s not fonctional or really useful This shader has now evolved in this folder and is still experimental i suppose https://github.com/libretro/common-shad … r/crt/glow

A reminder comparison of the current available bloom shaders, only “maister glow” doesn’t use crt-hyllian as a base. Integer is ON.

no bloom

hunterk bloom

maister bloom

maister glow

Heres an animated gif for you to show the differences better…

http://gifmaker.me/PlayGIFAnimation.php … pUt0FS.gif

Heres an animated gif for you to show the differences better…

http://gifmaker.me/PlayGIFAnimation.php … pUt0FS.gif[/quote]

Thanks for the web, but that comparison is not respecting the original screenshot bitdepth, resolution, nor quality. Not to say you can’t compare screen #1 with #3. I recommend screenshotcomparison for that as I stated early on on this same thread.

At last, I’ve understand the inner details of Maister’s Glow shaders and adapted crt-hyllian to use it correctly. The sinlge shader will continue as is. This combination is only recommended for who likes bloom:

crt-hyllian-glow cgp

I had to tweak the params from crt-hyllian to show a properly image, so, don’t use the crt-hyllian included as a replacement for the single one already on repo.

I had to create another resolve.cg, because crt-hyllian is only one pass.

Ok, if you have better param values, post here. I didn’t upload to repo yet. I’ll do it if you find it worth.

I think it’s repository worthy since it seems to fair better with brighter games like Mario World compared to Maister’s glow. I think it has better color accuracy overall aswell. Surprisingly, I like it better with bloom strength set to 0. The bloom effect gets weird looking to me after awhile. And even with bloom off it’s still much brighter than crt-hyllian.

Ok, I just put it on repo.

There are some params you can tweak to increase or decrease brightness. For example, the scanlines strength is at max. I did it, because Maister’s bloom is very strong by default.

Hyllian, I’m not sure if you regretted your words when I recommended bicubic with no C component.

A crt shader never should be so sharp as you picture it. I know that discussing about it is a moot point since it’s a configurable setting now, but I thought I had to back up my theory with the insight shed on this post, and that you also seem to agree right after. (CRT using gauss scalers instead of bicubic)

Actually, I agreed with the oversample sugestion only. :stuck_out_tongue:

I don’t like gaussian filter, to tell you the truth. Blurring is the worst artifact for me. That’s why I developed xbr in the first place.