From 438825a7ce98a0cd455ff0adebd6d3cf8d3209be Mon Sep 17 00:00:00 2001 From: natrixaeria Date: Fri, 14 Jun 2019 17:20:01 +0200 Subject: Draw a rectangle --- webhogg/wasm/src/context/main.vs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 webhogg/wasm/src/context/main.vs (limited to 'webhogg/wasm/src/context/main.vs') diff --git a/webhogg/wasm/src/context/main.vs b/webhogg/wasm/src/context/main.vs new file mode 100644 index 0000000..18df0a0 --- /dev/null +++ b/webhogg/wasm/src/context/main.vs @@ -0,0 +1,9 @@ +#version 300 es + +precision highp float; + +layout(location=0) in vec2 position; + +void main() { + gl_Position = vec4(position, 0.0, 0.0); +} -- cgit v1.2.3-54-g00ecf