summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/08-update/fs_update.sc
blob: 41e24ed1fe2cf9ac933dcb0e0bc81fc06d64aa78 (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"

SAMPLERCUBE(s_texCube, 0);

void main()
{
	gl_FragColor = textureCube(s_texCube, v_texcoord0);
}