Source

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

Diff from to

Tut 10 Plane Lights/data/PosTransform.vert

 
 layout(location = 0) in vec3 position;
 
-uniform mat4 cameraToClipMatrix;
 uniform mat4 modelToCameraMatrix;
 
+uniform Projection
+{
+	mat4 cameraToClipMatrix;
+};
+
 void main()
 {
 	gl_Position = cameraToClipMatrix * (modelToCameraMatrix * vec4(position, 1.0));