Pixel-Composer/shaders/sh_draw_divide/sh_draw_divide.fsh
2024-01-12 19:11:26 +07:00

6 lines
105 B
GLSL

varying vec4 v_vColour;
void main() {
gl_FragColor = v_vColour;
gl_FragColor.rgb /= gl_FragColor.a;
}