Pixel-Composer/shaders/sh_draw_divide/sh_draw_divide.fsh

7 lines
105 B
Plaintext
Raw Normal View History

2024-01-12 13:11:26 +01:00
varying vec4 v_vColour;
void main() {
gl_FragColor = v_vColour;
gl_FragColor.rgb /= gl_FragColor.a;
}