diff options
author | pryazha <pryadeiniv@mail.ru> | 2025-02-19 22:26:48 +0500 |
---|---|---|
committer | pryazha <pryadeiniv@mail.ru> | 2025-02-19 22:26:48 +0500 |
commit | f9ad6fa902c1167d7622ee7af2617d14b62bee21 (patch) | |
tree | 9d78792cf360ed871616a9ea66c4237018292aa7 /advanced_opengl/3.blending/shaders/grass.fs | |
parent | 926cbd0d49890772f911e6a6bedb7835605ced89 (diff) |
quite a lot of changes that I, of course, are not going to describe;)
Diffstat (limited to 'advanced_opengl/3.blending/shaders/grass.fs')
-rw-r--r-- | advanced_opengl/3.blending/shaders/grass.fs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/advanced_opengl/3.blending/shaders/grass.fs b/advanced_opengl/3.blending/shaders/grass.fs deleted file mode 100644 index cecb0ce..0000000 --- a/advanced_opengl/3.blending/shaders/grass.fs +++ /dev/null @@ -1,17 +0,0 @@ -#version 330 core - -out vec4 frag_color; - -in vec2 tex_coords; - -uniform sampler2D texture1; - -void -main(void) -{ - vec4 tex_color = texture(texture1, tex_coords); - if (tex_color.a <= 0.2) { - discard; - } - frag_color = tex_color; -} |