Updated shaders with comments

This commit is contained in:
raysan5
2016-05-18 12:04:27 +02:00
parent 0e29aa2951
commit bc08271da3
34 changed files with 294 additions and 158 deletions

View File

@ -29,6 +29,9 @@ uniform float matGlossiness = 50.0;
uniform vec3 lightPosition;
uniform vec3 cameraPosition;
// Fragment shader output data
out vec4 fragColor;
// Calculate ambient lighting component
vec3 AmbientLighting()
{