Browse Source

Review GLSL 120 shaders

Not tested, could have errors
Ray San 7 years ago
parent
commit
4fe8e05a7f

+ 0 - 2
examples/shaders/resources/shaders/glsl120/base.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/bloom.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/blur.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/cross_hatching.fs

@@ -1,7 +1,5 @@
 # version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/cross_stitching.fs

@@ -1,7 +1,5 @@
 # version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/distortion.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 

+ 0 - 2
examples/shaders/resources/shaders/glsl120/dream_vision.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/fisheye.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/grayscale.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/pixelizer.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/posterization.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/predator.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/scanlines.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/sobel.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;

+ 0 - 2
examples/shaders/resources/shaders/glsl120/swirl.fs

@@ -1,7 +1,5 @@
 #version 120
 
-precision mediump float;
-
 // Input vertex attributes (from vertex shader)
 varying vec2 fragTexCoord;
 varying vec4 fragColor;