diff options
author | David Thompson <dthompson2@worcester.edu> | 2017-09-13 21:42:21 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2017-09-13 22:02:39 -0400 |
commit | fdf3b1f61be84621f5efb58dad730371b26453b9 (patch) | |
tree | f0a4e8a0d706d29c9839943e107137483b252087 /data/shaders/pbr/pbr-vert.glsl | |
parent | 045a5ac770eb773d915db8270c6608f4a65c5ec5 (diff) |
Add beginnings of glTF parser and loader.
* chickadee/render/asset.scm: New file.
* chickadee/render/scene.scm: New file.
* data/shaders/pbr/pbr-frag.glsl: New file.
* data/shaders/pbr/pbr-vert.glsl: New file.
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); +} |