summaryrefslogtreecommitdiffstats
path: root/fiz/naloga/gl/vertex.glsl
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-05-09 22:38:58 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2022-05-09 22:38:58 +0200
commit448f44dad78f51e0b2250aac7ab25420c5cf3469 (patch)
tree99f263402ed549a546cf9e3bae7b1e8acdcb7aea /fiz/naloga/gl/vertex.glsl
parentmaček v praznem stanovanju, W. Szymborska (diff)
downloadsola-gimb-3-448f44dad78f51e0b2250aac7ab25420c5cf3469.tar
sola-gimb-3-448f44dad78f51e0b2250aac7ab25420c5cf3469.tar.gz
sola-gimb-3-448f44dad78f51e0b2250aac7ab25420c5cf3469.tar.bz2
sola-gimb-3-448f44dad78f51e0b2250aac7ab25420c5cf3469.tar.lz
sola-gimb-3-448f44dad78f51e0b2250aac7ab25420c5cf3469.tar.xz
sola-gimb-3-448f44dad78f51e0b2250aac7ab25420c5cf3469.tar.zst
sola-gimb-3-448f44dad78f51e0b2250aac7ab25420c5cf3469.zip
Diffstat (limited to 'fiz/naloga/gl/vertex.glsl')
-rw-r--r--fiz/naloga/gl/vertex.glsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/fiz/naloga/gl/vertex.glsl b/fiz/naloga/gl/vertex.glsl
index e69de29..d17b522 100644
--- a/fiz/naloga/gl/vertex.glsl
+++ b/fiz/naloga/gl/vertex.glsl
@@ -0,0 +1,10 @@
+#version 330
+
+layout(location = 0) in vec3 vertex_position;
+
+out vec2 UVo;
+
+void main() {
+ UVo = vertex_position.xy;
+ gl_Position = vec4(vertex_position, 1.0);
+}