This commit is contained in:
2021-07-09 03:22:51 +02:00
parent e4c6a45427
commit 4f30f2ce3a
30 changed files with 565 additions and 314 deletions

14
shaders/shader.frag Normal file
View File

@@ -0,0 +1,14 @@
#version 330 core
in vec2 texCoord;
out vec4 fragColor;
uniform sampler2D image;
void main()
{
vec4 texColor = texture(image, texCoord);
if(texColor.a < 0.1)
discard;
fragColor = texColor;
}