Skip to main content

apply_shading

Function apply_shading 

Source
pub fn apply_shading(
    image: &Image,
    ssao: bool,
    threads: Option<&ThreadPool>,
) -> ColorImage
Expand description

Combines two images with shading

ยงPanics

If the images have different widths or heights