pixelNoise function
PixelNoise from lib/blue_noise.glsl: the blue noise while a temporal
resolve runs, bayerCell otherwise.
Implementation
double pixelNoise(ShaderBindings b, double x, double y) =>
b.vec4('NoiseInfo', 'noise', Vector4.zero()).x > 0.5
? blueNoise(b, x, y)
: bayerCell(x, y);