Start GI at the second tick.

This commit is contained in:
vlj 2014-05-31 02:53:16 +02:00
parent 6643f749b1
commit 5945ee878b

View File

@ -740,7 +740,7 @@ void IrrDriver::computeCameraMatrix(scene::ICameraSceneNode * const camnode, siz
sun_ortho_matrix.push_back(getVideoDriver()->getTransform(video::ETS_PROJECTION) * getVideoDriver()->getTransform(video::ETS_VIEW));
}
if (!(tick % 100))
if (!(tick % 100) != 2)
rsm_matrix = sun_ortho_matrix[3];
rh_extend = core::vector3df(128, 64, 128);
core::vector3df campos = camnode->getAbsolutePosition();