Lines Matching refs:shadowMat
86 shadowmatrix(GLfloat shadowMat[4][4],
98 shadowMat[0][0] = dot - lightpos[X] * groundplane[X];
99 shadowMat[1][0] = 0.f - lightpos[X] * groundplane[Y];
100 shadowMat[2][0] = 0.f - lightpos[X] * groundplane[Z];
101 shadowMat[3][0] = 0.f - lightpos[X] * groundplane[W];
103 shadowMat[X][1] = 0.f - lightpos[Y] * groundplane[X];
104 shadowMat[1][1] = dot - lightpos[Y] * groundplane[Y];
105 shadowMat[2][1] = 0.f - lightpos[Y] * groundplane[Z];
106 shadowMat[3][1] = 0.f - lightpos[Y] * groundplane[W];
108 shadowMat[X][2] = 0.f - lightpos[Z] * groundplane[X];
109 shadowMat[1][2] = 0.f - lightpos[Z] * groundplane[Y];
110 shadowMat[2][2] = dot - lightpos[Z] * groundplane[Z];
111 shadowMat[3][2] = 0.f - lightpos[Z] * groundplane[W];
113 shadowMat[X][3] = 0.f - lightpos[W] * groundplane[X];
114 shadowMat[1][3] = 0.f - lightpos[W] * groundplane[Y];
115 shadowMat[2][3] = 0.f - lightpos[W] * groundplane[Z];
116 shadowMat[3][3] = dot - lightpos[W] * groundplane[W];