diff options
Diffstat (limited to 'assets/shaders/linearGradient.frag.glsl')
-rwxr-xr-x | assets/shaders/linearGradient.frag.glsl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/assets/shaders/linearGradient.frag.glsl b/assets/shaders/linearGradient.frag.glsl index 56a55d86..03310255 100755 --- a/assets/shaders/linearGradient.frag.glsl +++ b/assets/shaders/linearGradient.frag.glsl | |||
@@ -33,14 +33,14 @@ precision highp float; | |||
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | 35 | ||
36 | uniform vec4 u_color1; | 36 | uniform vec4 u_color1; |
37 | uniform vec4 u_color2; | 37 | uniform vec4 u_color2; |
38 | uniform vec4 u_color3; | 38 | uniform vec4 u_color3; |
39 | uniform vec4 u_color4; | 39 | uniform vec4 u_color4; |
40 | uniform float u_colorStop1; | 40 | uniform float u_colorStop1; |
41 | uniform float u_colorStop2; | 41 | uniform float u_colorStop2; |
42 | uniform float u_colorStop3; | 42 | uniform float u_colorStop3; |
43 | uniform float u_colorStop4; | 43 | uniform float u_colorStop4; |
44 | uniform vec2 u_cos_sin_angle; | 44 | uniform vec2 u_cos_sin_angle; |
45 | //uniform int u_colorCount; // currently using 4 | 45 | //uniform int u_colorCount; // currently using 4 |
46 | 46 | ||
@@ -73,4 +73,4 @@ void main(void) | |||
73 | color = u_color4; | 73 | color = u_color4; |
74 | 74 | ||
75 | gl_FragColor =color; | 75 | gl_FragColor =color; |
76 | } | 76 | } |