Fix culling of solid node for good

This commit is contained in:
vlj 2014-09-03 02:54:33 +02:00
parent 55b5194673
commit d51754c237

View File

@ -737,6 +737,7 @@ void IrrDriver::computeCameraMatrix(scene::ICameraSceneNode * const camnode, siz
assert(sun_ortho_matrix.size() == 4);
camnode->setNearValue(oldnear);
camnode->setFarValue(oldfar);
camnode->render();
size_t size = irr_driver->getShadowViewProj().size();
for (unsigned i = 0; i < size; i++)