mirror of
https://github.com/tanema/light_world.lua.git
synced 2024-12-24 20:24:19 +00:00
Update README.md
This commit is contained in:
parent
5a6744b1f3
commit
652d38b20d
@ -20,7 +20,8 @@ function love.load()
|
||||
end
|
||||
|
||||
function love.update(dt)
|
||||
lightWorld:setTranslation(x, y, scale)
|
||||
lightWorld:update(dt) --only needed for animation
|
||||
lightWorld:setTranslation(x, y, scale)
|
||||
end
|
||||
|
||||
function love.draw()
|
||||
@ -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)
|
||||
* chromatic aberration [Preview](http://onepixelahead.de/love2d_polyshadow16.gif)
|
||||
* postshader with many included postshaders, plus easy to extend
|
||||
* animations in tandem with normal maps thanks to [anim8](https://github.com/kikito/anim8)
|
||||
|
||||
## License
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user