2015-05-07 15:09:06 +08:00
|
|
|
|
2016-11-02 14:13:34 +08:00
|
|
|
const char* ccCameraClearFrag = R"(
|
2015-05-07 15:09:06 +08:00
|
|
|
|
2016-10-26 16:03:08 +08:00
|
|
|
#ifdef GL_ES
|
2015-05-07 15:09:06 +08:00
|
|
|
varying mediump vec2 v_texCoord;
|
2017-10-20 09:43:45 +08:00
|
|
|
varying mediump vec4 v_color;
|
2016-10-26 16:03:08 +08:00
|
|
|
#else
|
2015-05-07 15:09:06 +08:00
|
|
|
varying vec2 v_texCoord;
|
2017-10-20 09:43:45 +08:00
|
|
|
varying vec4 v_color;
|
2016-10-26 16:03:08 +08:00
|
|
|
#endif
|
2015-05-07 15:09:06 +08:00
|
|
|
void main()
|
|
|
|
{
|
2017-10-20 09:43:45 +08:00
|
|
|
gl_FragColor = v_color;
|
2015-05-07 15:09:06 +08:00
|
|
|
}
|
2016-11-02 14:13:34 +08:00
|
|
|
)";
|