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?
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.