Pixel-Composer/shaders/sh_fd_visualize/sh_fd_visualize.fsh

8 lines
158 B
Text
Raw Normal View History

2023-02-14 02:48:33 +01:00
varying vec2 v_vTexcoord;
varying vec4 v_vColour;
void main() {
2024-11-22 09:43:50 +01:00
float a = texture2D(gm_BaseTexture, v_vTexcoord).a;
2023-02-14 02:48:33 +01:00
gl_FragColor = vec4(vec3(1.), a);
}