Draw the sun, debug the colour and variable size
[clouds.git] / sunvert.glsl
diff --git a/sunvert.glsl b/sunvert.glsl
new file mode 100644 (file)
index 0000000..1aa37e1
--- /dev/null
@@ -0,0 +1,9 @@
+#version 400
+in vec3 vPosition;
+
+uniform mat4 model;
+uniform mat4 view;
+uniform mat4 projection;
+void main() {
+  gl_Position = projection * view * model * vec4(vPosition, 1);
+}