I'm currently messing with the "complex_blur" PP effect from the Post-Processing Collection, and I can't figure out the equation(s?) behind this array:
Code:
float2 samples[12]
= {
-0.326212, -0.405805,
-0.840144, -0.073580,
-0.695914, 0.457137,
-0.203345, 0.620716,
0.962340, -0.194983,
0.473434, -0.480026,
0.519456, 0.767022,
0.185461, -0.893124,
0.507431, 0.064425,
0.896420, 0.412458,
-0.321940, -0.932615,
-0.791559, -0.597705
};
I hope I'm not doing anything wrong if I do add on to this array (make the array larger (add more numbers), make a smoother blur effect in theory, if I understand the code correctly), but if I'm not, then could someone clue me in on how this works? I've tried all 6 (inverse) trig functions on the numbers, and I'm not seeing a pattern.