aboutsummaryrefslogtreecommitdiff
path: root/examples/resources/shaders/glsl330/phong.fs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/resources/shaders/glsl330/phong.fs')
-rw-r--r--examples/resources/shaders/glsl330/phong.fs3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/resources/shaders/glsl330/phong.fs b/examples/resources/shaders/glsl330/phong.fs
index 80e3d673..c14b346a 100644
--- a/examples/resources/shaders/glsl330/phong.fs
+++ b/examples/resources/shaders/glsl330/phong.fs
@@ -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()
{