volpath.cpp: always specify sampler to evalTransmittance()

metadata
Wenzel Jakob 2013-03-08 14:18:25 -05:00
parent 9a4fb4dba4
commit 27c7b853da
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ public:
&& (!m_hideEmitters || scattered)) {
Spectrum value = throughput * scene->evalEnvironment(ray);
if (rRec.medium)
value *= rRec.medium->evalTransmittance(ray);
value *= rRec.medium->evalTransmittance(ray, rRec.sampler);
Li += value;
}