summaryrefslogtreecommitdiffstats
path: root/src/engine/shaders/vertexDepthTest
blob: d62f1aa75421a781abaab74b0a80cd4dc97b8ca5 (plain)
1
2
3
4
5
6
7
8
9
attribute highp vec3 vertexPosition_mdl;

varying highp vec2 UV;

void main() {
    gl_Position = vec4(vertexPosition_mdl, 1.0);
    UV = (vertexPosition_mdl.xy + vec2(1.0, 1.0)) / 2.0;
}