One of the things I'm using in this project is the light and shadow engine (more specifically, the refactored version found here: https://github.com/tanema/light_world.lua) and I have to draw a rectangle in the lightWorld:draw function because lights and shadows will only be rendered/appear inside the bounds of that rectangle.
However, for some reason I can't get the rectangle to be bigger than 800 x 600 (or atleast nothing is rendering outside the bounds of of 800x600). I've tried setting it to the screen size (which is currently set to 1200x900) to no avail. Currently I'm 'brute-forcing' it by setting it's width and height to 10000 and it's STILL not rendering anything outside of 800x600.
My current code (yes, it's inside love.draw incase it not being in there was of any suspicion.)
Code: Select all
lightWorld:draw(function()
love.graphics.setColor(255,255,255)
love.graphics.rectangle("fill",0,0,10000,10000)
end)