Lights on a flat surface..!

Okay, i want lights to be moving across a flat surface but I know surface or vertex normals would do you no good because it only assigns one shade for the whole polygon. How do I achieve this effect?


You need to tesselate the surface with many polygons, then specify a surface normal for each polygon. this way your lighting effects will show up nicely.

As for moving lights, just define all your light propertys, then you move the light specifying a new position each time you want to move it. its that simple.

To achieve a better result you can use light mapping: it allows to use less polys (but one more texture) and then can be faster.
In the coding section of there are some links.