Hi!
Could somebody explain me step by step how to use a mask to create a light? It is a Challenge 2 on
Image API tutorial so it should be quite straightforward, but I can not find a way to do that. I've got a bright background actor in the back layer which is imitating a day and on top of that I've got a dark background actor which is imitating a night as well as my mask actor (a triangle-esque dark imitation of light). I want to "cut out" my mask actor so that it is bright from the bright background actor, thus imitating a light. The ultimate goal is to create a headlight for the car driven by a player at night.
I am attaching my blocks - maybe somebody will be able to explain to me what I am doing wrong.
Thanks!