radiance 0.7.1

Video art software designed for live performance
Documentation
1
2
3
4
5
6
7
8
#property description RGB white noise

fn main(uv: vec2<f32>) -> vec4<f32> {
    let fragColor = textureSample(iInputsTex[0], iSampler,  uv);
    let rgb = textureSample(iNoiseTex, iSampler, uv).rgb;
    let c = vec4<f32>(rgb, 1.0);
    return mix(fragColor, c, iIntensity * pow(defaultPulse, 0.5));
}