12 lines
196 B
GLSL
12 lines
196 B
GLSL
#version 330 core
|
|
out vec4 FragColor;
|
|
|
|
in vec3 ourColor;
|
|
in vec2 TexCoord;
|
|
|
|
uniform sampler2D ourTexture;
|
|
|
|
void main()
|
|
{
|
|
FragColor = texture(ourTexture, TexCoord) * vec4(ourColor, 1.0f);
|
|
} |