13 lines
167 B
GLSL
13 lines
167 B
GLSL
#version 130
|
|
|
|
uniform sampler2D image;
|
|
|
|
in vec2 vTexCoords;
|
|
in vec4 vColor;
|
|
|
|
out vec4 fragColor;
|
|
|
|
void main() {
|
|
fragColor = vColor * texture(image, vTexCoords);
|
|
}
|