18 lines
221 B
PostScript
18 lines
221 B
PostScript
|
#version 330 core
|
||
|
|
||
|
// Input
|
||
|
in vec2 TexCoord;
|
||
|
|
||
|
// Output
|
||
|
out vec4 PixelColor;
|
||
|
|
||
|
// Uniforms
|
||
|
uniform sampler2D Texture;
|
||
|
uniform vec4 TintColor;
|
||
|
|
||
|
// Main
|
||
|
void main()
|
||
|
{
|
||
|
PixelColor = texture(Texture, TexCoord) * TintColor;
|
||
|
}
|