source
source copied to clipboard
Generalise microfacet BRDF implementation.
RoughConductor microfacet material could be generalised into MicrofacetBRDF base class. The Fresnel term could be left to be implemented in a deriving class. Alternate distributions could also be provided.