11 lines
203 B
GLSL
11 lines
203 B
GLSL
#version 440 core
|
|
|
|
out vec4 FragColor;
|
|
uniform vec3 Color;
|
|
in vec2 TexCoord;
|
|
uniform sampler2D Texture;
|
|
|
|
|
|
void main(){
|
|
FragColor = mix ( texture(Texture, TexCoord), vec4(Color, 1.0f), 0.5f);
|
|
} |