Hi! how to make sure that in this example the walls are not visible until the light hits them. In the current version, the walls are visible even without light
Sample C3
we.tl/t-USuRxixyva
Develop games in your browser. Powerful, performant & highly capable.
There might be an easier way to do this via the behavior plugin, but I would create a code with something like this:
This is optional but you can add a brightness effect to the wall and then replace opacity with brightness.