Skip to main content

pcf_kernel

Function pcf_kernel 

Source
pub fn pcf_kernel(size: usize) -> Vec<Vec2>
Expand description

Generate a Poisson-disc PCF kernel of size taps.

Returns UV offsets in [-1, 1]².