Start GI at the second tick.
This commit is contained in:
parent
6643f749b1
commit
5945ee878b
@ -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));
|
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];
|
rsm_matrix = sun_ortho_matrix[3];
|
||||||
rh_extend = core::vector3df(128, 64, 128);
|
rh_extend = core::vector3df(128, 64, 128);
|
||||||
core::vector3df campos = camnode->getAbsolutePosition();
|
core::vector3df campos = camnode->getAbsolutePosition();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user