diff options
Diffstat (limited to 'themes/src/_shaders/sky.vert')
| -rw-r--r-- | themes/src/_shaders/sky.vert | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/src/_shaders/sky.vert b/themes/src/_shaders/sky.vert new file mode 100644 index 0000000..249603c --- /dev/null +++ b/themes/src/_shaders/sky.vert @@ -0,0 +1,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); +} |
