Source

gltut / Tut 10 Plane Lights / data / PosVertexLighting_PCN.vert

Diff from to

Tut 10 Plane Lights/data/PosVertexLighting_PCN.vert

 uniform vec4 lightIntensity;
 uniform vec4 ambientIntensity;
 
-uniform mat4 cameraToClipMatrix;
 uniform mat4 modelToCameraMatrix;
+uniform mat3 normalModelToCameraMatrix;
 
-uniform mat3 normalModelToCameraMatrix;
+uniform Projection
+{
+	mat4 cameraToClipMatrix;
+};
 
 void main()
 {