2024-11-15 00:12:51 +00:00
|
|
|
$input v_texcoord0
|
2024-11-04 13:19:28 +00:00
|
|
|
|
2024-11-15 00:12:51 +00:00
|
|
|
uniform sampler2D u_texture_color;
|
|
|
|
|
|
|
|
#include <bgfx_shader.sh>
|
|
|
|
#include <shaderlib.sh>
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
vec4 color = texture2D(u_texture_color, v_texcoord0);
|
|
|
|
if (color.r == 0 && color.g == 0 && color.b == 0) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
gl_FragColor = color;
|
2024-11-04 13:19:28 +00:00
|
|
|
}
|