8 lines
160 B
C
8 lines
160 B
C
|
"uniform sampler2D tex;\n"
|
||
|
"varying vec4 col;\n"
|
||
|
"varying vec2 tex_c;\n"
|
||
|
"void main()\n"
|
||
|
"{\n"
|
||
|
" gl_FragColor = texture2D(tex, tex_c.xy).bgra * col;\n"
|
||
|
"}\n"
|