From d6613f1e883eaa318fcf2098477eb5eede3d34ba Mon Sep 17 00:00:00 2001 From: hwc487 Date: Tue, 10 Jul 2012 10:00:35 -0700 Subject: Removed the shaders that we do not have rights to. --- assets/shaders/Star.frag.glsl | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 assets/shaders/Star.frag.glsl (limited to 'assets/shaders/Star.frag.glsl') diff --git a/assets/shaders/Star.frag.glsl b/assets/shaders/Star.frag.glsl deleted file mode 100644 index f61f43c9..00000000 --- a/assets/shaders/Star.frag.glsl +++ /dev/null @@ -1,31 +0,0 @@ -#ifdef GL_ES -precision highp float; -#endif - -uniform float u_time; -uniform float u_speed; -uniform vec2 u_resolution; -uniform sampler2D u_tex0; - -void main(void) -{ - vec2 uv; - - float time = u_time * u_speed; - - vec2 p = -1.0 + 2.0 * gl_FragCoord.xy / u_resolution.xy; - float a = atan(p.y,p.x); - float r = sqrt(dot(p,p)); - float s = r * (1.0+0.8*cos(time*1.0)); - - uv.x = .02*p.y+.03*cos(-time+a*3.0)/s; - uv.y = .1*time +.02*p.x+.03*sin(-time+a*3.0)/s; - - float w = .9 + pow(max(1.5-r,0.0),4.0); - - w*=0.6+0.4*cos(time+3.0*a); - - vec3 col = texture2D(u_tex0,uv).xyz; - - gl_FragColor = vec4(col*w,1.0); -} \ No newline at end of file -- cgit v1.2.3