vertex program question

why we need to use matrix related things while making program of light

DP4 result.position.x, pos, modelviewProj[0];

is any concept i missed or not have
if this Question looks like [censored] close it.
please post any article related to it.
thanks in advance


Why you need to transform your vertex by the model-proj matrix?
Because that’s how things are done. Get used to it.

It’s better to pick up a book about 3D graphics in general. Don’t buy a book about OpenGL programming.

thank you.
N what book should be for that
yes i can surf google but what is the best one