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.fs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 webhogg/wasm/src/context/main.fs (limited to 'webhogg/wasm/src/context/main.fs') diff --git a/webhogg/wasm/src/context/main.fs b/webhogg/wasm/src/context/main.fs new file mode 100644 index 0000000..971d2db --- /dev/null +++ b/webhogg/wasm/src/context/main.fs @@ -0,0 +1,9 @@ +#version 300 es + +precision highp float; + +out vec4 color; + +void main() { + color = vec4(0.0, 1.0, 1.0, 1.0); +} -- cgit v1.2.3-54-g00ecf