haxeflixel retro parallax shader
This repo contains shader code to emulate a raster parallax effect which is an old technique involving scanlines and interrupts.
The technique is explained here - https://en.wikipedia.org/wiki/Parallax_scrolling#Raster_method