2014-01-05 13:54:40 -05:00
|
|
|
uniform ivec4 color;
|
2014-01-04 17:10:56 -05:00
|
|
|
|
2014-02-28 11:29:05 -05:00
|
|
|
#if __VERSION__ >= 130
|
2014-01-19 13:31:00 -05:00
|
|
|
out vec4 FragColor;
|
2014-02-28 11:29:05 -05:00
|
|
|
#else
|
|
|
|
#define FragColor gl_FragColor
|
|
|
|
#endif
|
|
|
|
|
2014-01-19 13:31:00 -05:00
|
|
|
|
2014-01-04 17:10:56 -05:00
|
|
|
void main()
|
|
|
|
{
|
2014-01-19 13:31:00 -05:00
|
|
|
FragColor = vec4(color) / 255.;
|
2014-01-13 19:11:59 -05:00
|
|
|
}
|