mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 11:05:36 -05:00
13 lines
174 B
Python
13 lines
174 B
Python
|
$input v_color0, v_texcoord0
|
||
|
|
||
|
#include "../common.sh"
|
||
|
|
||
|
SAMPLER2D(s_tex, 0);
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vec4 texel = texture2D(s_tex, v_texcoord0);
|
||
|
gl_FragColor = texel * v_color0;
|
||
|
}
|
||
|
|