forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
10
Kha/Sources/Shaders/painter-text.frag.glsl
Normal file
10
Kha/Sources/Shaders/painter-text.frag.glsl
Normal file
@ -0,0 +1,10 @@
|
||||
#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);
|
||||
}
|
Reference in New Issue
Block a user