aboutsummaryrefslogtreecommitdiff
path: root/assets/shaders/Flag.vert.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders/Flag.vert.glsl')
-rw-r--r--assets/shaders/Flag.vert.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/shaders/Flag.vert.glsl b/assets/shaders/Flag.vert.glsl
index 1c842cb0..8ba00922 100644
--- a/assets/shaders/Flag.vert.glsl
+++ b/assets/shaders/Flag.vert.glsl
@@ -35,7 +35,8 @@ void main()
35 const float pi = 3.14159; 35 const float pi = 3.14159;
36 float angle = time; 36 float angle = time;
37 37
38 v_uv = texcoord; 38 v_uv.x = texcoord.x;
39 v_uv.y = texcoord.y;
39 40
40 float x = 2.0*pi*texcoord.x/u_waveWidth; 41 float x = 2.0*pi*texcoord.x/u_waveWidth;
41 float y = 2.0*pi*texcoord.y; 42 float y = 2.0*pi*texcoord.y;