This was a version where I did single-pass but with persistance :P
So basically a single source of light would spread out
And then fade out slowly if moved
It's a bit artistic, but it was a nice effect.
Here's a small enclosed room.
I I did a multi-pass one as well where the effect was instant. It was more realistic, but obviously also more taxing.
Something like 4 tiles per pass, so you'd have to do light_resolution/4 passes to get accurate results.
Here's a multi-pass with RGB colors
Was trying to do 2d source approximation for doing more advanced single-pass lighting effects like normal mapping.
I basically sampled a 3x3 area of light cells and then approximated where the source was, which gave me a direction and strength.
It wasn't perfect and I never could get it to look quite right.
@Garan, this image shows what I do
The left-most is the resistance layer, the middle is the light source layer where each tile that provides light is added and finally the right image is the output. I then use that and overlays the scene.