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

@@ -27,7 +27,7 @@ CursedBook = Entity:New(x,y)
-- light
o.light_range = 500
o.light = CreateLight(o.pos.x,o.pos.y,o.light_range,2,HEX2RGB("#fe00d1"))
o.light = Light:New(o.pos.x,o.pos.y,o.light_range,2,HEX2RGB("#fe00d1"))
table.insert(LoadedObjects.Entities,o)
o.id = #LoadedObjects.Entities