summaryrefslogtreecommitdiff
path: root/advanced_opengl/1.depth/shaders/depth.vs
diff options
context:
space:
mode:
authorpryazha <pryadeiniv@mail.ru>2025-02-19 22:26:48 +0500
committerpryazha <pryadeiniv@mail.ru>2025-02-19 22:26:48 +0500
commitf9ad6fa902c1167d7622ee7af2617d14b62bee21 (patch)
tree9d78792cf360ed871616a9ea66c4237018292aa7 /advanced_opengl/1.depth/shaders/depth.vs
parent926cbd0d49890772f911e6a6bedb7835605ced89 (diff)
quite a lot of changes that I, of course, are not going to describe;)
Diffstat (limited to 'advanced_opengl/1.depth/shaders/depth.vs')
-rw-r--r--advanced_opengl/1.depth/shaders/depth.vs16
1 files changed, 0 insertions, 16 deletions
diff --git a/advanced_opengl/1.depth/shaders/depth.vs b/advanced_opengl/1.depth/shaders/depth.vs
deleted file mode 100644
index 62e71a2..0000000
--- a/advanced_opengl/1.depth/shaders/depth.vs
+++ /dev/null
@@ -1,16 +0,0 @@
-#version 330 core
-layout(location = 0) in vec3 apos;
-layout(location = 1) in vec2 atex_coords;
-
-uniform mat4 model;
-uniform mat4 view;
-uniform mat4 projection;
-
-out vec2 tex_coords;
-
-void
-main(void)
-{
- gl_Position = projection*view*model*vec4(apos, 1.0);
- tex_coords = atex_coords;
-}