Rehandled Darkness and Lights. Refactored lots of stuff. Rewritten shaders.

This commit is contained in:
lustlion
2022-02-21 18:24:20 +01:00
parent 192b1e6ca0
commit a944192f67
19 changed files with 166 additions and 202 deletions

View File

@@ -22,20 +22,15 @@ function love.load()
game = {
scale = 2,
width = love.graphics.getWidth(),
height = love.graphics.getHeight(),
paused = false
height = love.graphics.getHeight()
}
require "code/require"
logPrint(loveInitLog)
loveInitLog = nil
Canvas = {
Darkness = CreateDarkness()
}
love.graphics.setCanvas(Canvas.Darkness)
SetDarkness()
love.graphics.setCanvas()
Canvas = {}
Darkness.Create()
Camera.width = game.width
Camera.height = game.height