share/hedgewars/Data/Shaders/water.vs
changeset 7188 580cd247511e
child 11317 62287d4044e7
equal deleted inserted replaced
7186:013deb83086b 7188:580cd247511e
       
     1 #version 130
       
     2 
       
     3 in vec2 vertex;
       
     4 in vec4 color;
       
     5 out vec4 vcolor;
       
     6 
       
     7 uniform mat4 mvp;
       
     8 
       
     9 void main()
       
    10 {
       
    11     vec4 p = mvp * vec4(vertex, 0.0f, 1.0f);
       
    12     gl_Position = p;
       
    13     vcolor = color;
       
    14 }