Lines Matching refs:LightPos
20 static GLfloat LightPos[4] = { 0.0, 10.0, 20.0, 1.0 };
57 normalize( pos, LightPos );
58 pos[3] = LightPos[3];
66 glLightfv(GL_LIGHT0, GL_POSITION, LightPos);
98 LightPos[0] += Delta;
99 if (LightPos[0] > 25.0)
101 else if (LightPos[0] <- 25.0)
133 LightPos[0] -= 1.0;
136 LightPos[0] += 1.0;
211 "PARAM LightPos = program.local[3]; \n"
222 "DP3_SAT dotProd.x, LightPos, normal; # limited to [0,1]\n"