Hey there clickers!
Does anyone know of a good way to do darkness, different from mine?
I have a day-and-night cycle, with a fading darkness layer. The darkness object covers the entire screen and is set to not follow frame.
I use subtract, and then inside the layer I have another object that subtracts from the darkness object, which works as a flashlight.
To avoid any jagged edges, the flashlight is huge and it is not possible for the flashlight object to NOT cover the screen.
The problem is, I recently started fantasizing about having other light sources as well.
The only way I can think of doing this is making a massive darkness layer that is entirely black and covers the entire frame, which is then subtracted from.
The problem with this is, even though it's more efficient than covering the screen with frame sized light sources it still uses too much ram.
My frame is 12000x12000px so even adding just a stretched black pixel, instantly uses 500Mb of ram.
If anyone has another method of doing this, I'd love to hear. Thanks!