light_world.lua
light_world.lua copied to clipboard
A lighting model made for love 2d
When using a camera that pans shadow-casting bodies off-screen, the shadows stop calculating for those bodies eventually. At first I thought it was an issue with my scaling engine and...
copied from the love forums: I have been using light_world for a while now, though to date I've been using it with statically-placed lights that do not move. Lately I...
While requiring this library en error occures while loading `phosphor.glsl`: love2d 11.1, Windows 10 ```Error Error validating pixel shader code: Line 128: ERROR: '_tex0_' : undeclared identifier Line 128: ERROR:...
It seems that shaders are not compatible with GLSL ES, I attempted to run an example on adroid and it was not able to create shaders.
Whenever I create bodies in love.load I get normal shadows as on first screenshot. But whenever I create bodies from other places in code it gives me situation like on...
Would it be possible to add the Z axis in the `setPosition` function of the `Body` like it is on `Light`. Let say I have a room with walls, a...
returns true/false depending on whether the body is in shadow.
okay, i have confirmed lightworld rotates (sort of), **if** i put in the love.graphics.rotate into the actual lightworld function bit, in my code, in ee_engine.lua: ``` lightWorld:draw(function() --this is the...
I think this project needs a change log in order to stay updated with the changes.
I suggest a little change in the util.process function because the actual one leads to a rendering/scale bug in my game. During the execution of the game, if I increase...