1#property description Full black strobe 2#property frequency 1 3 4void main(void) { 5 fragColor = texture(iInput, uv); 6 vec4 c; 7 8 float darkness = (iFrequency == 0.) ? pow(iIntensity, 2.) : smoothstep(0., 0.2, iIntensity); 9 10 c = vec4(0., 0., 0., 1.) * pow(defaultPulse, (iIntensity + 0.5) * 2.) * darkness; 11 fragColor = composite(fragColor, c); 12} 13