forked from LeenkxTeam/LNXSDK
11 lines
207 B
Plaintext
11 lines
207 B
Plaintext
|
#version 450
|
||
|
|
||
|
uniform sampler2D tex;
|
||
|
in vec2 texCoord;
|
||
|
in vec4 fragmentColor;
|
||
|
out vec4 FragColor;
|
||
|
|
||
|
void main() {
|
||
|
FragColor = vec4(fragmentColor.rgb, texture(tex, texCoord).r * fragmentColor.a);
|
||
|
}
|