I have posted a new WebGL shader to the dev subforum : http://www.scirra.com/forum/topic59130_post364062.html#364062
You can now have dynamic lighting effects in 2D games !
<img src="https://dl.dropbox.com/u/1412774/LightingDemo/demo.png" border="0">
(The yellow sqaure is the light source).
The work is ported and modded from the work of Matt Greer (http://www.mattgreer.org/post/4dynamicLightingShadows.
A demo : https://dl.dropbox.com/u/1412774/LightingDemo/index.html
Check the dev thread to know how to make your owns : http://www.scirra.com/forum/topic59130_post364062.html#364062
Genius! Great work.
Awesome! Got to try and play with it!
Very cool!
Develop games in your browser. Powerful, performant & highly capable.
Ashley : by the way, I sent a mail to Matt Greer, and he answered me personnaly to give the authorization to publish all material from his website. He says that everything put there is public domain, and that he's going to add that mention everywhere on his work.
Pode - Matt Greer? Is that the ShaderToy guy?
Ashley : I don't think so. I think the author of ShaderToy is Inigo Quilez.
Wow, nice! What sort of setup does this require?
EDIT: Never mind, just read the dev thread.