15 lines
235 B
Plaintext
15 lines
235 B
Plaintext
|
#version 330 core
|
||
|
|
||
|
in vec2 uvCoordinates;
|
||
|
|
||
|
uniform sampler2DRect textureSampler;
|
||
|
uniform vec4 recolor;
|
||
|
|
||
|
out vec4 out_Color;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
vec4 color = texture(textureSampler, uvCoordinates);
|
||
|
|
||
|
out_Color = color * recolor;
|
||
|
}
|