Update README.md

This commit is contained in:
Tim Anema 2014-12-05 09:59:17 -05:00
parent 5a6744b1f3
commit 652d38b20d

View File

@ -20,6 +20,7 @@ function love.load()
end end
function love.update(dt) function love.update(dt)
lightWorld:update(dt) --only needed for animation
lightWorld:setTranslation(x, y, scale) lightWorld:setTranslation(x, y, scale)
end end
@ -57,6 +58,7 @@ There are example in the example directory how to use both of these with the lib
* refractions (moveable) [Preview](http://onepixelahead.de/love2d_polyshadow13.gif) * refractions (moveable) [Preview](http://onepixelahead.de/love2d_polyshadow13.gif)
* chromatic aberration [Preview](http://onepixelahead.de/love2d_polyshadow16.gif) * chromatic aberration [Preview](http://onepixelahead.de/love2d_polyshadow16.gif)
* postshader with many included postshaders, plus easy to extend * postshader with many included postshaders, plus easy to extend
* animations in tandem with normal maps thanks to [anim8](https://github.com/kikito/anim8)
## License ## License