diff --git a/src/Shaders/PhongShader.vert b/src/Shaders/PhongShader.vert index d02bd08fc..6fb1097e1 100644 --- a/src/Shaders/PhongShader.vert +++ b/src/Shaders/PhongShader.vert @@ -22,5 +22,5 @@ void main() { lightDirection = normalize(light.xyz - transformedVertex); /* Transform the vertex */ - gl_Position = projectionMatrix*transformationMatrix*vertex; + gl_Position = projectionMatrix*transformedVertex4; }