This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
NFRev1/NFPackCreator/AssetBuild/base/shaders/uiTextureFragment.shader
2021-09-07 01:08:37 -05:00

15 lines
211 B
GLSL

#version 330 core
in vec2 texCoord;
uniform sampler2D tex;
uniform float opacity;
out vec4 color;
void main() {
vec4 texColor = texture(tex, texCoord);
color = vec4(texColor.rgb, texColor.a * opacity);
}