bgfx/examples/common/imgui/fs_ocornut_imgui.sc
2015-01-16 22:41:37 -08:00

12 lines
174 B
Scala

$input v_color0, v_texcoord0
#include "../common.sh"
SAMPLER2D(s_tex, 0);
void main()
{
vec4 texel = texture2D(s_tex, v_texcoord0);
gl_FragColor = texel * v_color0;
}