mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-19 06:40:05 +01:00
tidying up some shader stuff (nameing etc)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
//pro-shader
|
||||
//written by Tim Caldwell
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
@@ -17,8 +18,8 @@ void main(){
|
||||
|
||||
vec2 pos = v_texcoord;
|
||||
//float amp = pos.y * 0.03 + .001;
|
||||
pos.x += 0.05*u_x2*sin( pos.y* 60.0*u_x3 + u_time * 1.0 );
|
||||
pos.y += 0.05*u_x0*sin( pos.x* 60.0*u_x1 + u_time * 1.0);
|
||||
pos.x += 0.07*u_x2*sin( pos.y* 70.0*u_x3 + u_time * 1.0 );
|
||||
pos.y += 0.07*u_x0*sin( pos.x* 70.0*u_x1 + u_time * 1.0);
|
||||
pos.y = mod(pos.y,1.0);
|
||||
pos.x = mod(pos.x,1.0);
|
||||
//if(pos.y > 1.0 || pos.y < 0.0){pos.y = 0.0;}
|
||||
|
||||
Reference in New Issue
Block a user