cgal/Polyhedron/demo/Polyhedron/resources/compatibility_shaders/shader_with_texture.frag

10 lines
193 B
GLSL

varying highp vec3 fColors;
varying highp vec2 f_texCoord;
uniform sampler2D s_texture;
void main(void)
{
gl_FragColor = vec4(vec3(texture2D(s_texture, f_texCoord))*fColors, 1.0);
}