View Single Post
Old 01 December 2020, 19:33   #1
kokoko3k
Registered User

 
Join Date: Nov 2020
Location: italy
Posts: 12
Made a new shader for FS-uae.

First post here, so Hello everyone!.

In latest days i've been playing with glsl and shaders.
I never used them before, nor i wrote any shader before, so probably i did some mistakes/unoptimized code, did something already existed, whatever, i don't know.

Anyway, by inspecting other's people code, i came up with a shader that looks good to me; also is very configurable,and i think it is a nice toy to play with.

It has support for several features:
* non linear scanlines on original coordinates
* non linear screenlines on screen coordinates
* custom rgb masks with(out) offset
* glowing,haloing,blooming
* gamma correction
* saturation correction
* alternate blanking (like uae's feature)
* play nicely with FS-UAE's autoscale function

Also, it is important to know that it is meant to be used with:
* line doubling enabled: line_doubling = 1
* low resolution disabled: low_resolution = 0

I've set the default values to match my real arcade crt monitor as much as i can on a 1080p, you may have much better results tuning it for 4k, of course .

Please, share your impressions, ideas, improvements...


Complete gallery:http://wpage.unina.it/aorefice/share...koko-aio-1.35/

Some Examples:


You can download the latest presets here:
http://wpage.unina.it/aorefice/share..._and_pictures/


Have fun!

Last edited by kokoko3k; 14 January 2021 at 14:44.
kokoko3k is offline  
 
Page generated in 0.06716 seconds with 11 queries