#define_import_path smud::outline #import smud fn fill(d: f32, color: vec4) -> vec4 { let d_2 = abs(d - 1.) - 1.; let a = smud::sd_fill_alpha_fwidth(d_2); return vec4(color.rgb, a * color.a); }