So I'm making a pseudo-horror game and I'm struggling to get light sources to work properly. I'm using radial gradient sprites for light sources because I can adjust their size and transparency, and using layer blend modes I've figured out how to make it so that objects appear black when not lit, but I've started running into issues. As I have it now, the background can be seen through the other objects, and it gets less visible closer to light sources, while the other objects become more visible closer to light sources (as they should). When I change the layer blend modes, the only way to make this not happen apparently involves making the background black along with the objects.
For some context, the game begins on a spaceship orbiting a planet, which can be seen in the background. I want the ship to have a couple light sources, but outside of those light sources, the ship should be completely dark (the player themselves will be a light source themselves to fix this). However, the background should still be visible.
Ultimately I am trying to achieve the following things:
- Light sources (white gradients) illuminate surroundings rather than just turning them white
- Objects are black when not in the presence of a light source
- The background is always visible regardless of nearby light sources
Here is the drive link for the .c3p file. drive.google.com/file/d/1M3_mDKXR16xAhkP_9FOu-N3lOHY2eAby/view