diff options
Diffstat (limited to 'pbr/1.1.lighting/hdr.vert')
-rw-r--r-- | pbr/1.1.lighting/hdr.vert | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pbr/1.1.lighting/hdr.vert b/pbr/1.1.lighting/hdr.vert new file mode 100644 index 0000000..1b953d7 --- /dev/null +++ b/pbr/1.1.lighting/hdr.vert @@ -0,0 +1,17 @@ +#version 330 core + +layout(location = 0) in vec3 position; +layout(location = 2) in vec2 tex_coords; + +out vert_t { + vec2 tex_coords; +} vert; + +uniform mat4 model; + +void main(void) +{ + gl_Position = model * vec4(position, 1.0); + + vert.tex_coords = tex_coords; +} |