From cfb2f95cffd22d5da2694639a8f2f67baf417adc Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Tue, 10 Jul 2012 10:45:22 -0700 Subject: Removed the shaders that we do not have rights to. Conflicts: js/io/system/ninjalibrary.json js/models/materials-model.js Signed-off-by: Valerio Virgillito --- assets/shaders/Julia.frag.glsl | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 assets/shaders/Julia.frag.glsl (limited to 'assets/shaders/Julia.frag.glsl') diff --git a/assets/shaders/Julia.frag.glsl b/assets/shaders/Julia.frag.glsl deleted file mode 100644 index 7e616c40..00000000 --- a/assets/shaders/Julia.frag.glsl +++ /dev/null @@ -1,26 +0,0 @@ -#ifdef GL_ES -precision highp float; -#endif - -uniform vec2 u_resolution; -uniform float u_time; -uniform float u_speed; - -void main(void) -{ - vec2 p = -1.0 + 2.0 * gl_FragCoord.xy / u_resolution.xy; - vec2 cc = vec2( cos(.25*u_time*u_speed), sin(.25*u_time*u_speed*1.423) ); - - float dmin = 1000.0; - vec2 z = p*vec2(1.33,1.0); - for( int i=0; i<64; i++ ) - { - z = cc + vec2( z.x*z.x - z.y*z.y, 2.0*z.x*z.y ); - float m2 = dot(z,z); - if( m2>100.0 ) break; - dmin=min(dmin,m2); - } - - float color = sqrt(sqrt(dmin))*0.7; - gl_FragColor = vec4(color,color,color,1.0); -} \ No newline at end of file -- cgit v1.2.3