1 2 3 4 5 6 7 8 9 10
$input v_color0, v_texcoord0 #include <bgfx_shader.sh> SAMPLER2D(s_texColor, 0); void main() { gl_FragColor = v_color0 * texture2D(s_texColor, v_texcoord0); }