13 lines
192 B
GLSL
13 lines
192 B
GLSL
#version 330 core
|
|
out vec4 FragColor;
|
|
|
|
in vec3 ourColor;
|
|
in vec2 TextureCords;
|
|
|
|
uniform sampler2D Texture;
|
|
|
|
void main() {
|
|
FragColor = texture(Texture, TextureCords) * vec4(ourColor, 1.0);
|
|
}
|
|
|