Skip to main content

flat

Function flat 

Source
pub fn flat() -> Vec<u8> 
Expand description

Flat : neutral gray Lambertian, RGBA blendable.

Simple diffuse-only shading, no specular, no colour contribution. The alpha channel controls how strongly the lighting gradient blends onto geometry.