From d24bc75519154c99cee7b7ed75df3e98b5820761 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 9 Aug 2021 23:14:01 +1000 Subject: [PATCH] [client] egl: added missing vertex shader file --- client/renderers/EGL/shader/basic.vert | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 client/renderers/EGL/shader/basic.vert diff --git a/client/renderers/EGL/shader/basic.vert b/client/renderers/EGL/shader/basic.vert new file mode 100644 index 00000000..d7bca668 --- /dev/null +++ b/client/renderers/EGL/shader/basic.vert @@ -0,0 +1,14 @@ +#version 300 es + +precision mediump float; + +layout(location = 0) in vec2 uVertex; +layout(location = 1) in vec2 uUV; + +out vec2 iFragCoord; + +void main() +{ + gl_Position.xy = uVertex; + iFragCoord = uUV; +}