Pixel-Composer/shaders/sh_fd_visualize/sh_fd_visualize.fsh
2024-11-22 15:43:50 +07:00

7 lines
158 B
GLSL

varying vec2 v_vTexcoord;
varying vec4 v_vColour;
void main() {
float a = texture2D(gm_BaseTexture, v_vTexcoord).a;
gl_FragColor = vec4(vec3(1.), a);
}