2020-10-18 16:52:22 +00:00
|
|
|
#ifdef GL_ES
|
|
|
|
precision mediump float;
|
|
|
|
#endif
|
2020-10-18 10:22:08 +00:00
|
|
|
|
|
|
|
// Custom attributes.
|
|
|
|
|
2020-10-18 16:52:22 +00:00
|
|
|
uniform sampler2D uColorTex; // Sampler for the color registered data
|
2020-10-18 10:22:08 +00:00
|
|
|
|
|
|
|
in vec2 gTexCoord;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2020-10-18 16:52:22 +00:00
|
|
|
gl_FragColor = texture2D(uColorTex, gTexCoord);
|
2020-10-18 10:22:08 +00:00
|
|
|
}
|