summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/shader/redsquare.fp
blob: a94f70528d52f391769c9f6fe18e001d1ab334d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#ifdef GL_ES
  #define MEDIUMP mediump
  #define HIGHP highp
#else
  #define MEDIUMP
  #define HIGHP
#endif

varying   HIGHP vec4    frontColor;

void main (void)
{
    gl_FragColor = frontColor;
}