13 lines
207 B
GLSL
13 lines
207 B
GLSL
#ifdef GL_ES
|
|
precision mediump float;
|
|
#endif
|
|
|
|
varying vec4 v_Color;
|
|
varying vec2 v_TexCoord;
|
|
|
|
uniform sampler2D m_Sampler;
|
|
|
|
void main(void)
|
|
{
|
|
gl_FragColor = v_Color * texture2D(m_Sampler, v_TexCoord);
|
|
} |