Module material

Source

Structs§

Dielectric
Dielectric (refractive) material (glass, water, diamond, etc.).
Lambertian
Lambertian (diffuse) material.
Metal
Metal (specular reflection) material.

Traits§

Material
Material trait: determines whether scattering occurs and the scattered ray and attenuation color.