aboutsummaryrefslogtreecommitdiff
path: root/assets/shaders
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders')
-rw-r--r--assets/shaders/Cloud.vert.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/shaders/Cloud.vert.glsl b/assets/shaders/Cloud.vert.glsl
index fbd7f40b..c673e40c 100644
--- a/assets/shaders/Cloud.vert.glsl
+++ b/assets/shaders/Cloud.vert.glsl
@@ -34,8 +34,8 @@ const float zSpeed = 1.0;
34void main() 34void main()
35{ 35{
36 // Transform position 36 // Transform position
37 vec4 pos = a_pos; 37 vec4 pos = vec4(a_pos,1);
38 pos.z += u+time*zSpeed; 38 pos.z += u_time*zSpeed;
39 gl_Position = u_projMatrix * u_mvMatrix * pos; 39 gl_Position = u_projMatrix * u_mvMatrix * pos;
40 40
41 v_texCoord0 = texcoord; 41 v_texCoord0 = texcoord;