Skip to main content

premultiplied_shadow_sample

Function premultiplied_shadow_sample 

Source
pub fn premultiplied_shadow_sample(color: Color, mask: f32) -> [f32; 4]
Expand description

Premultiplied shadow color for one blurred alpha sample. This helper is shared by deterministic CPU tests and documents the exact GPU equation.