volpath.cpp: always specify sampler to evalTransmittance()
parent
9a4fb4dba4
commit
27c7b853da
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue