2015-12-15 01:33:16 +00:00
|
|
|
#version 330 core
|
|
|
|
|
|
|
|
// Input
|
2016-12-24 10:05:51 +00:00
|
|
|
in vec4 LightColor;
|
2015-12-15 01:33:16 +00:00
|
|
|
|
|
|
|
// Output
|
|
|
|
out vec4 PixelColor;
|
|
|
|
|
|
|
|
// Uniforms
|
|
|
|
uniform vec4 TintColor;
|
|
|
|
|
|
|
|
// Main
|
|
|
|
void main()
|
|
|
|
{
|
2016-12-24 10:05:51 +00:00
|
|
|
PixelColor = LightColor * TintColor;
|
2015-12-15 01:33:16 +00:00
|
|
|
}
|