aboutsummaryrefslogtreecommitdiff
path: root/shaders
diff options
context:
space:
mode:
Diffstat (limited to 'shaders')
-rw-r--r--shaders/fragment_no_texture.frag7
-rw-r--r--shaders/vertex_no_texture.vert11
2 files changed, 18 insertions, 0 deletions
diff --git a/shaders/fragment_no_texture.frag b/shaders/fragment_no_texture.frag
new file mode 100644
index 0000000..f6d7bf1
--- /dev/null
+++ b/shaders/fragment_no_texture.frag
@@ -0,0 +1,7 @@
+#version 330 core
+
+out vec4 out_color;
+
+void main() {
+ out_color = vec4(1.0, 1.0, 1.0, 1.0);
+} \ No newline at end of file
diff --git a/shaders/vertex_no_texture.vert b/shaders/vertex_no_texture.vert
new file mode 100644
index 0000000..a44217b
--- /dev/null
+++ b/shaders/vertex_no_texture.vert
@@ -0,0 +1,11 @@
+#version 330 core
+
+in vec3 position;
+
+uniform mat4 proj;
+uniform mat4 view;
+uniform mat4 model;
+
+void main() {
+ gl_Position = proj * view * model * vec4(position, 1.0);
+} \ No newline at end of file