iced-yoda/glow/src/shader/common/triangle.frag

18 lines
No EOL
257 B
GLSL

#ifdef GL_ES
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
#endif
#ifdef HIGHER_THAN_300
out vec4 fragColor;
#define gl_FragColor fragColor
#endif
uniform vec4 color;
void main() {
fragColor = color;
}