Lod_Group node threshold distances are now calculated based on the distance between the camera and the nearest point in/on the bounding box

This commit is contained in:
2013-04-08 21:40:53 -07:00
parent bd0a773770
commit 3a04a954ac
9 changed files with 110 additions and 38 deletions

View File

@@ -138,3 +138,8 @@ void KRDirectionalLight::render(KRCamera *pCamera, std::vector<KRLight *> &light
}
}
}
KRAABB KRDirectionalLight::getBounds()
{
return KRAABB::Infinite();
}