summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/08-update/fs_update_cmp.sc
blob: 076d8965e6fbadc60e834b9e17d0adb9d0136f94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$input v_texcoord0

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

#include "../common/common.sh"

SAMPLER2D(s_texColor, 0);

void main()
{
	gl_FragColor = texture2D(s_texColor, v_texcoord0.xy*0.5+0.5);
}