mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
16 lines
312 B
Python
16 lines
312 B
Python
$input v_normal
|
|
|
|
/*
|
|
* Copyright 2011-2013 Branimir Karadzic. All rights reserved.
|
|
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
*/
|
|
|
|
#include <bgfx_shader.sh>
|
|
|
|
uniform float u_imageLod;
|
|
SAMPLERCUBE(s_texColor, 0);
|
|
|
|
void main()
|
|
{
|
|
gl_FragColor = textureCubeLod(s_texColor, v_normal, u_imageLod);
|
|
}
|