summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/debugdraw/fs_debugdraw_fill_texture.sc
blob: 67adb209f2dd52d9c8b0a2f5314752ef7669004f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$input v_texcoord0, v_color0

/*
 * Copyright 2011-2022 Branimir Karadzic. All rights reserved.
 * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
 */

#include <bgfx_shader.sh>

SAMPLER2D(s_texColor, 0);

void main()
{
	gl_FragColor = texture2D(s_texColor, v_texcoord0) * v_color0;
}