Update README.md

This commit is contained in:
Jon 2019-09-10 17:24:54 +08:00 committed by GitHub
parent bc145f0467
commit f140539a78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
This is the light modeling done by Priorblue [here](https://bitbucket.org/PriorBlue/love2d-light-and-shadow-engine), 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. only it has been largely refactored and edited to allow for scaling and proper translation.
*Supports love 0.10.1* *Supports love 11.2(master branch), 0.10.1(commit 414b9b74c0eb95bfb8b5e26a11caf2b32beccca0)
## Installation ## Installation
@ -17,7 +17,7 @@ local LightWorld = require "lib" --the path to where light_world is (in this rep
--create light world --create light world
function love.load() function love.load()
lightWorld = LightWorld({ lightWorld = LightWorld({
ambient = {55,55,55}, --the general ambient light in the environment ambient = {55/255,55/255,55/255}, --the general ambient light in the environment
}) })
end end