Renderer/assets/Shaders/plane/plane.fs
austin 7c8e536f80
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
bare minimum working ui update
2024-04-04 18:15:10 -04:00

14 lines
251 B
GLSL

#version 430 core
out vec4 FragColor;
in vec2 TexCoords;
uniform sampler2D screenTexture;
void main(){
vec4 textureColor = texture(screenTexture, TexCoords);
if(textureColor.a < 0.1){
discard;
}
FragColor = textureColor;
}