2016-12-20 09:13:15 +03:00
|
|
|
$input v_texcoord0, v_color0
|
|
|
|
|
|
|
|
/*
|
2022-01-15 22:59:06 +03:00
|
|
|
* Copyright 2011-2022 Branimir Karadzic. All rights reserved.
|
|
|
|
* License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
|
2016-12-20 09:13:15 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <bgfx_shader.sh>
|
|
|
|
|
|
|
|
SAMPLER2D(s_texColor, 0);
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
gl_FragColor = texture2D(s_texColor, v_texcoord0) * v_color0;
|
|
|
|
}
|