mirror of
https://github.com/bloeys/nterm.git
synced 2025-12-29 06:28:20 +00:00
16 lines
241 B
GLSL
Executable File
16 lines
241 B
GLSL
Executable File
#version 410
|
|
|
|
uniform sampler2D diffTex;
|
|
|
|
in vec4 vertColor;
|
|
in vec2 vertUV0;
|
|
in vec3 fragPos;
|
|
|
|
out vec4 fragColor;
|
|
|
|
void main()
|
|
{
|
|
vec4 texColor = texture(diffTex, vertUV0);
|
|
fragColor = vec4(vertColor.rgb, texColor.r*texColor.a);
|
|
}
|