Skip to content

Instantly share code, notes, and snippets.

View TideSofDarK's full-sized avatar
🟥

Alexandr Semenov TideSofDarK

🟥
  • Burning Babies
  • Yekaterinburg, Russia
View GitHub Profile
//By Red_Squirrel
void main(void)
{
vec2 uv = gl_FragCoord.xy / vec2(1024,1024);
float a = 0.0;
a = pow(a*2.0 + sin(iGlobalTime*5.0), 5.0) * 0.5;
vec3 col;
col.r = texture2D( iChannel0, vec2(a+uv.x,uv.y+a) ).r;
col.g = texture2D( iChannel0, vec2(uv.x, uv.y)).g;