CRT effect\shader ?

BlitzMax Forums/BlitzMax Beginners Area/CRT effect\shader ?

coffeedotbean(Posted 2016) [#1]
Is there any way to apply a CRT style shader to Blitzmax games?


Derron(Posted 2016) [#2]
Maybe with NG and Mojo (Mky.mod)? as that module offers shader support. Else you will have to do it on your own (that shader support).


bye
Ron


coffeedotbean(Posted 2016) [#3]
I just found this http://www.blitzbasic.com/Community/posts.php?topic=105697#1292563 so ill try this later when I get home


Wiebo(Posted 2016) [#4]
Or simply overlay a repeated transparent image over the render buffer?


coffeedotbean(Posted 2016) [#5]
I am looking to apply a proper Scanline effect to my PanGEMic http://www.blitzbasic.com/Community/posts.php?topic=106291 game and maybe some edge distortion as if it's played on a CRT, I can reasonably simulate scanlines but they're just black lines drawn across the screen.

looking for an effect such as;



Kryzon(Posted 2016) [#6]
That deformation is called "barrel distortion":
http://stackoverflow.com/a/6227310