summaryrefslogtreecommitdiff
path: root/data/shaders/pbr/pbr-vert.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'data/shaders/pbr/pbr-vert.glsl')
-rw-r--r--data/shaders/pbr/pbr-vert.glsl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/shaders/pbr/pbr-vert.glsl b/data/shaders/pbr/pbr-vert.glsl
index 938f475..b6fefef 100644
--- a/data/shaders/pbr/pbr-vert.glsl
+++ b/data/shaders/pbr/pbr-vert.glsl
@@ -1,8 +1,11 @@
#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);
}