forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
12
Kha/Sources/Shaders/painter-image.frag.glsl
Normal file
12
Kha/Sources/Shaders/painter-image.frag.glsl
Normal file
@ -0,0 +1,12 @@
|
||||
#version 450
|
||||
|
||||
uniform sampler2D tex;
|
||||
in vec2 texCoord;
|
||||
in vec4 color;
|
||||
out vec4 FragColor;
|
||||
|
||||
void main() {
|
||||
vec4 texcolor = texture(tex, texCoord) * color;
|
||||
texcolor.rgb *= color.a;
|
||||
FragColor = texcolor;
|
||||
}
|
Reference in New Issue
Block a user