DirectionalLight now correctly getting directions

This commit is contained in:
Tleety
2016-01-19 14:44:17 +01:00
parent 4cafb2fc4c
commit 982837052a
7 changed files with 59 additions and 9 deletions
+1 -1
View File
@@ -29,6 +29,6 @@ void main()
Output.Position = Position;
Output.TextureCoordinate = TextureCoords;
Output.Normal = Normal;
Output.Normal = vec3(M * vec4(Normal, 0.0));
Output.DiffuseColor = DiffuseVertexColor;
}