how to implemet a nice scanline effect using libgdx
- by Alexandre GUIDET
I am working on an old school platformer based on libgdx. My first attempt is to make a little texture and fill a rect above the whole screen, but it seems that I am messing arround with the orthographic camera (I use two camera, one for the tilemap and one to project the scanline filter). Sometime the texture is stuck on the tilemap and sometime it is too large and cover the whole screen in black.
Is my approach correct using two camera? Does someone have a solution to achieve this retro effect using libgdx (see maldita castilla)?
Thanks