13 lines
180 B
GLSL
13 lines
180 B
GLSL
#version 330 core
|
|
|
|
out vec4 FragColor;
|
|
|
|
in vec4 color;
|
|
in vec2 texCoord;
|
|
|
|
uniform sampler2D texture1;
|
|
|
|
void main()
|
|
{
|
|
FragColor = mix(texture(texture1, texCoord), color, 0.5);
|
|
} |