Function compute_tonal_colors
pub fn compute_tonal_colors(
ambient_color: impl Into<Color>,
spot_color: impl Into<Color>,
) -> (Color, Color)Expand description
Helper routine to compute color values for one-pass tonal alpha.
ambient_colorOriginal ambient colorspot_colorOriginal spot color
Returns the modified ambient and spot colors.