diff options
Diffstat (limited to 'data/shaders/pbr/pbr-vert.glsl')
-rw-r--r-- | data/shaders/pbr/pbr-vert.glsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/data/shaders/pbr/pbr-vert.glsl b/data/shaders/pbr/pbr-vert.glsl new file mode 100644 index 0000000..d3d7eca --- /dev/null +++ b/data/shaders/pbr/pbr-vert.glsl @@ -0,0 +1,9 @@ +#version 330 + +in vec3 position; +in vec3 normal; +uniform mat4 mvp; + +void main(void) { + gl_Position = mvp * vec4(position.xyz, 1.0); +} |