U
Unknown Yell
Guest
Hello there.
I'm making a Deadbolt clone to learn GML better.
I'm stuck on the light engine. Deadbolt lightning is really simple, I think it uses a surface or a shader to color the whole level black and then it "carves" a hole as big as the room the lamp is put in. With room I actually mean the room built in the room editor with objects, not the whole level.
Now, I need help on drawing the carved out surface, as I don't really know what to do, nor what to search on the internet.
I'm making a Deadbolt clone to learn GML better.
I'm stuck on the light engine. Deadbolt lightning is really simple, I think it uses a surface or a shader to color the whole level black and then it "carves" a hole as big as the room the lamp is put in. With room I actually mean the room built in the room editor with objects, not the whole level.
Now, I need help on drawing the carved out surface, as I don't really know what to do, nor what to search on the internet.