stk-code_catmod/data/shaders/coloredquad.frag
2014-02-28 17:29:05 +01:00

14 lines
173 B
GLSL

uniform ivec4 color;
#if __VERSION__ >= 130
out vec4 FragColor;
#else
#define FragColor gl_FragColor
#endif
void main()
{
FragColor = vec4(color) / 255.;
}