2022-08-20 22:12:11 -04:00
|
|
|
$input v_texcoord0
|
|
|
|
|
|
|
|
#include <bgfx_shader.sh>
|
|
|
|
#include <shaderlib.sh>
|
|
|
|
|
|
|
|
SAMPLER2D(s_texColor, 0);
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2022-08-23 18:02:15 -04:00
|
|
|
vec2 uv = vec2(v_texcoord0.x, 1.0f - v_texcoord0.y);
|
2022-08-22 02:15:25 -04:00
|
|
|
gl_FragColor = texture2D(s_texColor, uv);
|
2022-08-20 22:12:11 -04:00
|
|
|
}
|