I'd like to generate coordinates for my dynamic lights using GLTexGen, but there doesn't appear to be any way to offset the coordinates. Since the texture is clamped, it is important that I have some way of specifying the lights source's 2D position relative to the plane. Is there any way to od this, maybe by a texture offset?

Also, the mapping changes with the camera, preumably because you are supposed to specify glTexGen before the camera movement. But if you have multiple plane equations you will be using, how is this any good?

If this is not possible, I was thinking I would store a set of 2D vertices that were transformed to the plane space, so that I wouldn't have to recalculate them each frame.

Thanks.

[This message has been edited by halo (edited 12-19-2003).]

[This message has been edited by halo (edited 12-19-2003).]