Expand description
Material module.
Provides:
- Different pigments that implement
GetColor
trait ; - Different BRDF that implement both
Eval
andScatterRay
trait; - A
Material
thanks to pigments and BRDF.
Structs§
- A checkered pigment.
- A class representing an ideal diffuse BRDF (also called “Lambertian”).
- A textured pigment.
- A material with a particular pigment and BRDF.
- A class representing an ideal mirror BRDF.
- A uniform pigment.
Enums§
- Enum of BRDFs.
- Enum of pigments.