12 lines
235 B
GLSL
12 lines
235 B
GLSL
$input v_texcoord0
|
|
|
|
#include <bgfx_shader.sh>
|
|
#include <shaderlib.sh>
|
|
|
|
SAMPLER2D(s_texColor, 0);
|
|
|
|
void main()
|
|
{
|
|
vec2 uv = vec2(v_texcoord0.x, 1.0f - v_texcoord0.y);
|
|
gl_FragColor = vec4(1.0, 1.0, 1.0, texture2D(s_texColor, uv).a);
|
|
}
|