share/hedgewars/Data/Shaders/water.vs
author unc0rr
Thu, 04 Jun 2015 19:57:04 +0300
branch0.9.21
changeset 10773 c91811e09361
parent 8334 abb48dd39e26
child 11317 62287d4044e7
permissions -rw-r--r--
More ifdefs \o/ (fix build even more)



attribute vec2 vertex;
attribute vec4 color;

varying vec4 vcolor;

uniform mat4 mvp;

void main()
{
    vec4 p = mvp * vec4(vertex, 0.0, 1.0);
    gl_Position = p;
    vcolor = color;
}