View Full Version : NV vp tracking a lights position

06-29-2003, 07:10 PM
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?

06-29-2003, 08:49 PM
Why not just skip NV_vp and just use ARB_vp?

06-30-2003, 06:23 AM
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.


06-30-2003, 06:50 AM
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.