aboutsummaryrefslogtreecommitdiffstats
path: root/shader.frag
diff options
context:
space:
mode:
Diffstat (limited to 'shader.frag')
-rw-r--r--shader.frag4
1 files changed, 2 insertions, 2 deletions
diff --git a/shader.frag b/shader.frag
index 6f90a5f..857c6b9 100644
--- a/shader.frag
+++ b/shader.frag
@@ -1,4 +1,4 @@
-#version 130
+#version 120
uniform vec2 lightLocation;
uniform vec3 lightColor;
@@ -17,4 +17,4 @@ void main(){
vec4 color = vec4(0, 0, 0, 0.8f - pow(attenuation, 3)) * vec4(lightColor, 1);
gl_FragColor = color;
-} \ No newline at end of file
+}