efl/legacy/evas/src/modules/engines/gl_common/shader/img_mask_frag.h

12 lines
270 B
C

"#ifdef GL_ES\n"
"precision mediump float;\n"
"#endif\n"
"uniform sampler2D tex, texm;\n"
"varying vec4 col;\n"
"varying vec2 tex_c, tex_cm;\n"
"void main()\n"
"{\n"
" gl_FragColor = texture2D(texm, tex_cm.xy).aaaa * texture2D(tex, tex_c.xy).rgba * col;\n"
"}\n"
"\n"