share/hedgewars/Data/Shaders/water.vs
author sheepluva
Sat, 16 Jan 2016 19:50:38 +0100
changeset 11517 b3ee79e8e3b9
parent 11317 62287d4044e7
child 11795 2028bd2a6c5b
permissions -rw-r--r--
find hg revision even if github author name is not the same as hg author (kodabb vs koda)



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;
}