2018-02-27 23:15:07 +01:00
|
|
|
#version 150 core
|
2018-02-13 12:05:07 +01:00
|
|
|
|
2018-02-16 21:22:34 +01:00
|
|
|
uniform vec4 uColor;
|
|
|
|
|
2018-03-15 23:00:53 +01:00
|
|
|
in vec4 ioFragmentColor;
|
2018-02-27 23:15:07 +01:00
|
|
|
|
2018-03-15 23:00:53 +01:00
|
|
|
out vec4 outColor;
|
2018-02-27 23:15:07 +01:00
|
|
|
|
2018-02-13 12:05:07 +01:00
|
|
|
void main() {
|
2018-03-15 23:00:53 +01:00
|
|
|
outColor = vec4(ioFragmentColor.xyz * uColor.xyz * ioFragmentColor.w * uColor.w, 1.0);
|
2018-02-13 12:05:07 +01:00
|
|
|
}
|