I am currently working on a serious game which manages day/night transitions. When the player is in some of the rooms, he/she can turn lights on or off.
In order to create light sources, I have some Shadow Light objects on an opaque black layer above the background project light onto the lamps which then reflect the light (instead of shadows). This trick works by having the Shadow Lights using the "Destination Out" blend mode (their "shadow" therefore reveals the layer below).
See below:
dropbox.com/s/z82jbgnhfinos ... g.png?dl=0
My issue is the following when using the light sources: Either you set their radius to zero and can then determine the range of diffusion of the light (see left lamp above), but the edges of the light aren't smooth or you set the light's radius and have a nice natural looking light (see right lamp above), but the light extends off the screen.
I know this seems to be a limitation of the light/shadow caster plugins in C2, but has anyone an idea how to prevent the shade from extending off the screen edges without having to have hard looking shade edges?