summaryrefslogtreecommitdiff
path: root/flag.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'flag.glsl')
-rw-r--r--flag.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/flag.glsl b/flag.glsl
index f52c2f2..b7b4252 100644
--- a/flag.glsl
+++ b/flag.glsl
@@ -10,9 +10,8 @@ void main() {
uv.y += offset*uv.x*2.0 - 0.25;
vec4 col = texture2D(texture, uv*2.0);
- //col.rgb *= (1.0 + (0.0 + 0.5*(offset+0.04)*50.0));
col.rgb *= 0.9;
- col.rgb += 0.1 * -sine;
+ col.rgb += (0.1 * sine*(uv.x*2.0));
if(uv.x < 0.0 || uv.x > 0.5 || uv.y < 0.0 || uv.y > 0.5)
col.a = 0.0;