NV vp tracking a lights position

In ARB vp, it’s possible to access all sorts of GL states, but it seems NV vp is limited.
I can only track matrices but not things like material properties, light properties, …

Am I missing something? Can I access a light’s position inside a NV vp?

Why not just skip NV_vp and just use ARB_vp?

No, with NVidia vertex programs, you can’t track the light’s settings automatically. Each time you change the light, you have to update a vertex parameter register manually, to let it contain the new values.

In this respect, ARB vp is really more comfortable to use.


You bet ARB vp is more comfortable! It’s a smart design.

I’m making a tutuorial/demo thing that’s why I want them side by side.