I'm making a mining type game where a player has to go down into the depths of the earth and dig etc, and have the depths dark and the only way to see is to have a miners hat that emits light.
My initial and current idea for the lighting "system" was to have a particle emitter pinned to an image point on the players forehead, and emit small particles that mask a black overlay, effectively creating a form of "light".
I'm having trouble with the masking settings, however, an any help towards the problem is appreciated and so is any other effective alternatives.
Thanks in advance! :)
Develop games in your browser. Powerful, performant & highly capable.