diff options
author | pryazha <pryadeiniv@mail.ru> | 2025-03-18 11:31:31 +0500 |
---|---|---|
committer | pryazha <pryadeiniv@mail.ru> | 2025-03-18 11:31:31 +0500 |
commit | d65ddd07a43d5ffdcf2ddf90d6f86626cf9b92d8 (patch) | |
tree | 672efce6089ec9c1103be0c1b70a28ec415eeeab /advanced_lighting/6.hdr/shaders/hdr.vert | |
parent | d64a159d05a45e75870f61c37f0defa94f03793e (diff) |
Diffstat (limited to 'advanced_lighting/6.hdr/shaders/hdr.vert')
-rw-r--r-- | advanced_lighting/6.hdr/shaders/hdr.vert | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/advanced_lighting/6.hdr/shaders/hdr.vert b/advanced_lighting/6.hdr/shaders/hdr.vert new file mode 100644 index 0000000..4f15c72 --- /dev/null +++ b/advanced_lighting/6.hdr/shaders/hdr.vert @@ -0,0 +1,14 @@ +#version 330 core +layout(location = 0) in vec3 apos; +layout(location = 2) in vec2 atexc; + +out VSOUT { + vec2 texc; +} vsout; + +void main(void) +{ + vsout.texc = atexc; + + gl_Position = vec4(apos, 1.0); +} |