diff options
Diffstat (limited to 'flag.glsl')
-rw-r--r-- | flag.glsl | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |