share/hedgewars/Data/Shaders/default.vs
author nemo
Thu, 13 Dec 2018 11:03:15 -0500
branch0.9.25
changeset 14443 e8723f97324c
parent 12879 286e170f4f6b
permissions -rw-r--r--
Backed out changeset 1ffa8bfc5c58

#ifdef GL_ES
precision mediump float;
#endif

attribute vec2 vertex;
attribute vec2 texcoord;
attribute vec4 colors;

varying vec2 tex;

uniform mat4 mvp;

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