diff options
author | pryazha <pryadeiniv@mail.ru> | 2025-01-23 19:39:54 +0500 |
---|---|---|
committer | pryazha <pryadeiniv@mail.ru> | 2025-01-23 19:39:54 +0500 |
commit | bf1c59565096ac9774493846cfb15e259d3b0e66 (patch) | |
tree | 82e8182af128580b6f38437feccba8c0f48abdc1 /mesh_loading_test/shaders | |
parent | 1ee094199af9c169e1ccaa53c7b0c186c4a3639e (diff) |
restructure
Diffstat (limited to 'mesh_loading_test/shaders')
-rw-r--r-- | mesh_loading_test/shaders/default.fs | 13 | ||||
-rw-r--r-- | mesh_loading_test/shaders/default.vs | 16 |
2 files changed, 0 insertions, 29 deletions
diff --git a/mesh_loading_test/shaders/default.fs b/mesh_loading_test/shaders/default.fs deleted file mode 100644 index bdd4b9a..0000000 --- a/mesh_loading_test/shaders/default.fs +++ /dev/null @@ -1,13 +0,0 @@ -#version 330 core - -in vec2 tex_coords; - -out vec4 frag_color; - -uniform sampler2D texture1; - -void -main(void) -{ - frag_color = texture(texture1, tex_coords); -} diff --git a/mesh_loading_test/shaders/default.vs b/mesh_loading_test/shaders/default.vs deleted file mode 100644 index 90e883a..0000000 --- a/mesh_loading_test/shaders/default.vs +++ /dev/null @@ -1,16 +0,0 @@ -#version 330 core -layout(location = 0) in vec3 apos; -layout(location = 2) in vec2 atex_coords; - -out vec2 tex_coords; - -uniform mat4 projection; -uniform mat4 view; -uniform mat4 model; - -void -main(void) -{ - tex_coords = atex_coords; - gl_Position = projection*view*model*vec4(apos, 1.0); -} |