summaryrefslogtreecommitdiff
path: root/webhogg/wasm/src/context/main.fs
diff options
context:
space:
mode:
authornatrixaeria <janng@gmx.de>2019-06-14 17:20:01 +0200
committernatrixaeria <janng@gmx.de>2019-06-14 17:20:01 +0200
commit438825a7ce98a0cd455ff0adebd6d3cf8d3209be (patch)
tree30c4290562910c27c3a11a05344c6b236be62fbf /webhogg/wasm/src/context/main.fs
parent4fd207e78452a9e282ef65fc9c3eaf8b19115956 (diff)
Draw a rectangle
Diffstat (limited to 'webhogg/wasm/src/context/main.fs')
-rw-r--r--webhogg/wasm/src/context/main.fs9
1 files changed, 9 insertions, 0 deletions
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);
+}