[quote="Madster":1zphgzi4]AFAIK 0 becomes left (or top) and 1 is right (or bottom) of the screen.... screen which is rotated along with the sprite.
Yeah :\ So how can you keep the textures lightsource where the mouse pointer is, without the positions eventually becoming out of wack. Using MouseX/somelargenumber improves things, but isn't perfect, the more the mouse moves away from 0,0 the more the two become out of synch. Course use of the mouse was just to make the problem easier to explain. The use of it would be more along the lines of a player moving along with a torch, so it follows as it goes, causing the slight changes to the walls, floor etc. Which would add a nice extra effect to having a regular light effect on top of that.