iced-yoda/glow/src/shader/common/triangle.frag
2022-11-08 13:41:44 -08:00

18 lines
261 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() {
gl_FragColor = color;
}