Function wt::spectrum::spectrum_from_material

Function Documentation

inline auto wt::spectrum::spectrum_from_material(const wt_context_t &ctx, const std::string &name)

Loads a material IOR (may be real or complex) spectrum from database file “ior/{name}”.