Hi,
I’m thinking of using the GL_ARG_fragment_program extension to do per pixel lighting. The idea seems straight forward, but I need the normal to do the maths, and the normal is a vertex attribute, not a fragment. So how can I code it?
BTW, if anybody knows a web site where I could find good vertex and fragment programs using the ARB extensions, that would be usefull.
Thanks.