preset raw;

varying highp vec2 pos;

void vertex()
{
    VERTEX = (projectionMatrix * viewMatrix * vec3(VERTEX, 1.0)).xy;

    pos = (VERTEX + vec2(1.0)) / 2.0;
}


void fragment()
{
    COLOR = zTexture(pos);
}
