pub trait CanShade { // Required method fn shade(&mut self, pixel: Pixel) -> Pixel; }
To write a shader you must have a struct that implements this shader
This function accepts a pixel and returns the adjusted pixel, as you wish to adjust it