How can I create a night in my 2D game? I've created a dark semi-transparent object that is supposed to simulate darkness, but the lighting isn't working as I want it to. I want the light to result in (the color of the surrounding area + the color of the light), but currently, I'm getting (the color of the surrounding area + the color of the object simulating night + the color of the light).
Essentially, I want the light to ignore the darkness layer. Are there alternative ways to create a screen dimming effect that might work better for me?
Dimming the screen, simulating night in a 2D game
Asked Answered
© 2022 - 2024 — McMap. All rights reserved.