so if I put bumpmapping on a sprite, at runtime I can change lightx and lighty
if I put bumpmapping on a layer, I cannot change lightx and lighty at runtime.
Develop games in your browser. Powerful, performant & highly capable.