Sketch ini

This commit is contained in:
Ilusha 2024-03-17 10:04:52 +03:00 committed by Ilya Shurupov
parent 8866290d29
commit f8c38a8a37
16 changed files with 2510 additions and 0 deletions

View file

@ -0,0 +1,15 @@
#version 330 core
in vec2 UV;
out vec4 color;
uniform sampler2D renderedTexture;
void main(){
vec4 texColor = texture(renderedTexture, UV);
if(texColor.a < 0.2)
discard;
color = texColor;
}