bgfx/examples/21-deferred/fs_deferred_debug.sc

16 lines
285 B
Python
Raw Normal View History

2014-05-22 07:33:12 +04:00
$input v_texcoord0
/*
2020-01-15 08:37:06 +03:00
* Copyright 2011-2020 Branimir Karadzic. All rights reserved.
2016-01-01 11:11:04 +03:00
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
2014-05-22 07:33:12 +04:00
*/
#include "../common/common.sh"
SAMPLER2D(s_texColor, 0);
void main()
{
gl_FragColor = texture2D(s_texColor, v_texcoord0);
}