From c5c66a4e3d69a1aa9e3671215ab6756cc99b7ab8 Mon Sep 17 00:00:00 2001 From: Tim Anema Date: Mon, 27 Oct 2014 08:09:45 -0400 Subject: [PATCH 1/4] Update README.md --- README.md | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index ee6c7b5..9cfb396 100644 --- a/README.md +++ b/README.md @@ -3,25 +3,6 @@ This is the light modeling done by Priorblue [here](https://bitbucket.org/PriorBlue/love2d-light-and-shadow-engine), only it has been largely refactored and edited to allow for scaling and proper translation. -## Features ## -* **[Preview (Video)](https://www.youtube.com/watch?v=6V5Dtsa6Nd4)** -* polygon shadow calculation [Preview](http://onepixelahead.de/love2d_polyshadow.png) -* circle shadow calculation -* image shadow calculation [Preview](http://onepixelahead.de/love2d_polyshadow18.png) -* shadow blur -* light color, range, smooth and glow [Preview](http://onepixelahead.de/love2d_polyshadow2.png) -* ambient light -* self shadowing on images with normal maps [Preview](http://onepixelahead.de/love2d_polyshadow_pixelshadow.png) -* dynamic glow effect on images and circle/poly objects [Preview](http://onepixelahead.de/love2d_polyshadow_glow.png) [Preview](http://onepixelahead.de/love2d_polyshadow15.gif) -* generate flat or gradient normal maps [Preview](http://onepixelahead.de/love2d_polyshadow7.png) -* convert height maps to normal maps [Preview](http://onepixelahead.de/love2d_polyshadow8.png) -* generate a normal map directly from the image (usually gives poor results) -* shadow color and alpha (glass) [Preview](http://onepixelahead.de/love2d_polyshadow9.png) -* directional light [Preview](http://onepixelahead.de/love2d_polyshadow12.png) -* 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 - ## Installation copy the lib folder into your project at any path @@ -47,8 +28,26 @@ function love.draw() end ``` -please see the examples directory to see how it is fully used. also this project can -be run to show you the deomnstrations. + For more information please check out the (wiki)[https://github.com/tanema/light_world.lua/wiki] and see the examples directory to see how it is fully used. This project can be run with love to see the demonstrations in action. + +## Features ## +* **[Preview (Video)](https://www.youtube.com/watch?v=6V5Dtsa6Nd4)** +* polygon shadow calculation [Preview](http://onepixelahead.de/love2d_polyshadow.png) +* circle shadow calculation +* image shadow calculation [Preview](http://onepixelahead.de/love2d_polyshadow18.png) +* shadow blur +* light color, range, smooth and glow [Preview](http://onepixelahead.de/love2d_polyshadow2.png) +* ambient light +* self shadowing on images with normal maps [Preview](http://onepixelahead.de/love2d_polyshadow_pixelshadow.png) +* dynamic glow effect on images and circle/poly objects [Preview](http://onepixelahead.de/love2d_polyshadow_glow.png) [Preview](http://onepixelahead.de/love2d_polyshadow15.gif) +* generate flat or gradient normal maps [Preview](http://onepixelahead.de/love2d_polyshadow7.png) +* convert height maps to normal maps [Preview](http://onepixelahead.de/love2d_polyshadow8.png) +* generate a normal map directly from the image (usually gives poor results) +* shadow color and alpha (glass) [Preview](http://onepixelahead.de/love2d_polyshadow9.png) +* directional light [Preview](http://onepixelahead.de/love2d_polyshadow12.png) +* 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 ## License From 7ef40324716cd7cc747ca3df9e044b73dca6afae Mon Sep 17 00:00:00 2001 From: Tim Anema Date: Mon, 27 Oct 2014 08:10:25 -0400 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9cfb396..08a6dbc 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ only it has been largely refactored and edited to allow for scaling and proper t ## Installation - copy the lib folder into your project at any path + Copy and rename the lib folder into your project. ## How to use From 0de213f7d1fa1053f48bcec0109da710bc332a91 Mon Sep 17 00:00:00 2001 From: Tim Anema Date: Mon, 27 Oct 2014 08:10:42 -0400 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 08a6dbc..339b43e 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ function love.draw() end ``` - For more information please check out the (wiki)[https://github.com/tanema/light_world.lua/wiki] and see the examples directory to see how it is fully used. This project can be run with love to see the demonstrations in action. +For more information please check out the (wiki)[https://github.com/tanema/light_world.lua/wiki] and see the examples directory to see how it is fully used. This project can be run with love to see the demonstrations in action. ## Features ## * **[Preview (Video)](https://www.youtube.com/watch?v=6V5Dtsa6Nd4)** From 3937c6812bf1018fb311acdfc3b1a7e63238d96b Mon Sep 17 00:00:00 2001 From: Tim Anema Date: Mon, 27 Oct 2014 08:11:24 -0400 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 339b43e..9658786 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ function love.draw() end ``` -For more information please check out the (wiki)[https://github.com/tanema/light_world.lua/wiki] and see the examples directory to see how it is fully used. This project can be run with love to see the demonstrations in action. +For more information please check out the [wiki](https://github.com/tanema/light_world.lua/wiki) and see the examples directory to see how it is fully used. This project can be run with love to see the demonstrations in action. ## Features ## * **[Preview (Video)](https://www.youtube.com/watch?v=6V5Dtsa6Nd4)**