bgfx/examples/08-update/fs_update.sc

16 lines
280 B
Python
Raw Normal View History

2013-02-22 00:07:31 -05:00
$input v_texcoord0
/*
2014-02-11 01:07:04 -05:00
* Copyright 2011-2014 Branimir Karadzic. All rights reserved.
2013-02-22 00:07:31 -05:00
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
#include "../common/common.sh"
SAMPLERCUBE(u_texCube, 0);
void main()
{
gl_FragColor = textureCube(u_texCube, v_texcoord0);
}