ssaoKernel top-level constant
The twelve kernel taps of ssao.frag, in the same order.
A table on both sides rather than a hash, and the reason is this file: the cross-backend budgets are measured in hundredths of a per cent, and a float hash agrees between a GPU and this rasteriser nowhere at all.
Implementation
const List<List<double>> ssaoKernel = <List<double>>[
<double>[0.5381, 0.1856, 0.4319],
<double>[0.1379, 0.2486, 0.4430],
<double>[0.3371, 0.5679, 0.0057],
<double>[-0.6999, -0.0451, 0.0019],
<double>[0.0689, -0.1598, -0.8547],
<double>[0.0560, 0.0069, -0.1843],
<double>[-0.0146, 0.1402, 0.0762],
<double>[0.0100, -0.1924, -0.0344],
<double>[-0.3577, -0.5301, -0.4358],
<double>[-0.3169, 0.1063, 0.0158],
<double>[0.0103, -0.5869, 0.0046],
<double>[-0.0897, -0.4940, 0.3287],
];