photon mapper: don't limit the specular photon depth

metadata
Wenzel Jakob 2012-11-15 02:05:25 -05:00
parent 66d10b1bc4
commit 69e019bf60
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ public:
/* Generate the caustic photon map */
ref<GatherPhotonProcess> proc = new GatherPhotonProcess(
GatherPhotonProcess::ECausticPhotons, m_causticPhotons,
m_granularity, 3, m_rrDepth, m_gatherLocally,
m_granularity, m_maxDepth-1, m_rrDepth, m_gatherLocally,
m_autoCancelGathering, job);
proc->bindResource("scene", sceneResID);