Halton low-discrepancy sequence. Returns the index-th element of the sequence in base base, in the half-open interval [0, 1).
index
base
Useful for sub-pixel jitter offsets (typically base 2 for x, base 3 for y).
1-based-ish index; passing 0 returns 0. Typical TAA usage offsets by 1 so the first sample is non-zero.
Prime base; 2 and 3 are the standard pair for 2D distributions.
Halton low-discrepancy sequence. Returns the
index-th element of the sequence in basebase, in the half-open interval [0, 1).Useful for sub-pixel jitter offsets (typically base 2 for x, base 3 for y).