summaryrefslogtreecommitdiff
path: root/data/shaders/pbr
diff options
context:
space:
mode:
Diffstat (limited to 'data/shaders/pbr')
-rw-r--r--data/shaders/pbr/pbr-frag.glsl4
-rw-r--r--data/shaders/pbr/pbr-vert.glsl5
2 files changed, 4 insertions, 5 deletions
diff --git a/data/shaders/pbr/pbr-frag.glsl b/data/shaders/pbr/pbr-frag.glsl
index 9699da6..a4790b8 100644
--- a/data/shaders/pbr/pbr-frag.glsl
+++ b/data/shaders/pbr/pbr-frag.glsl
@@ -1,5 +1,5 @@
-#version 330
+#version 130
void main (void) {
- gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
+ gl_FragColor = vec4(1.0, 0.0, 1.0, 1.0);
}
diff --git a/data/shaders/pbr/pbr-vert.glsl b/data/shaders/pbr/pbr-vert.glsl
index d3d7eca..938f475 100644
--- a/data/shaders/pbr/pbr-vert.glsl
+++ b/data/shaders/pbr/pbr-vert.glsl
@@ -1,9 +1,8 @@
-#version 330
+#version 130
in vec3 position;
-in vec3 normal;
uniform mat4 mvp;
void main(void) {
- gl_Position = mvp * vec4(position.xyz, 1.0);
+ gl_Position = mvp * vec4(position.xyz, 1.0);
}