summaryrefslogtreecommitdiff
path: root/themes/src/_shaders/sky.vert
blob: 249603cc9e0eb8e3fb7270d754a1a73399f63c30 (plain)
1
2
3
4
5
6
7
8
9
10
precision highp float;

attribute vec2 position;   // fullscreen quad, clip-space corners in [-1, 1]

varying vec2 vUv;

void main() {
    vUv = position * 0.5 + 0.5;          // uv.y = 0 bottom, 1 top
    gl_Position = vec4(position, 0.0, 1.0);
}