I’m making a 2D sidescroller game.
Using this (http://www.alcove-games.com/opengl-es-2-tutorials/lightmap-shader-fire-effect-glsl/) tutorial, I made some nice flickering light.
Using this method, how would I make directional light that only appears on the surface?
The blocks are stored in a 2D byte array.