WavefrontIntegrator: use ParsedScene::CreateLights() to create lights
This gets rid of a bunch of unnecessarily duplicated code... (And removes a long-obsolete assumption that all area lights are DiffuseAreaLights.)
Showing
想要评论请 注册 或 登录