This should work as lightning currently does, when a sprite is half in shadow, it smoothly goes darker from light source in vector to shadow.
The feature would work the same, but adding brightness / doing something fancy instead, from darkest point in vector to light source.
Calculating the strength of effect should be relative to difference of the darkest and the brightest points on the sprite
This should work as lightning currently does, when a sprite is half in shadow, it smoothly goes darker from light source in vector to shadow. The feature would work the same, but adding brightness / doing something fancy instead, from darkest point in vector to light source. Calculating the strength of effect should be relative to difference of the darkest and the brightest points on the sprite