summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/imgui/fs_ocornut_imgui.sc
blob: 0b9c9828b2cec8971ed9954fec9a51e76219002a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
$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;
}