Add (and use) LightBase::LookupSpectrum() with InternCache
The lights now all use an InternCache for their DenselySampledSpectrum values, saving a significant amount of memory for scenes with many area lights that have the same emission spectra. (Partial fix to issue #183.)
Showing
想要评论请 注册 或 登录