summaryrefslogtreecommitdiff
path: root/data/shaders
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2019-10-24 08:04:43 -0400
committerDavid Thompson <dthompson2@worcester.edu>2019-10-24 08:04:43 -0400
commitb43c4058c9a968aa4c0625711ce27ad0187ddce2 (patch)
tree77dd25f8ce0b2546ba80511b460a8b75f79e04e0 /data/shaders
parentc55914d815d8828c15f11c4be4364614ca83cee8 (diff)
render: Restructure 3D modules and add basic support for OBJ models.
Diffstat (limited to 'data/shaders')
-rw-r--r--data/shaders/pbr/pbr-frag.glsl10
-rw-r--r--data/shaders/pbr/pbr-vert.glsl11
2 files changed, 0 insertions, 21 deletions
diff --git a/data/shaders/pbr/pbr-frag.glsl b/data/shaders/pbr/pbr-frag.glsl
deleted file mode 100644
index 1552880..0000000
--- a/data/shaders/pbr/pbr-frag.glsl
+++ /dev/null
@@ -1,10 +0,0 @@
-#version 130
-
-in vec2 frag_tex;
-uniform vec3 base_color_factor;
-uniform sampler2D base_color_texture;
-
-void main (void) {
- gl_FragColor = texture2D(base_color_texture, frag_tex) *
- vec4(base_color_factor, 1.0);
-}
diff --git a/data/shaders/pbr/pbr-vert.glsl b/data/shaders/pbr/pbr-vert.glsl
deleted file mode 100644
index b6fefef..0000000
--- a/data/shaders/pbr/pbr-vert.glsl
+++ /dev/null
@@ -1,11 +0,0 @@
-#version 130
-
-in vec3 position;
-in vec2 texcoord_0;
-out vec2 frag_tex;
-uniform mat4 mvp;
-
-void main(void) {
- frag_tex = texcoord_0;
- gl_Position = mvp * vec4(position.xyz, 1.0);
-}