|
|
@@ -290,17 +290,14 @@ void Scene::Render(Camera *targetCamera, RenderBuffer *targetFramebuffer) {
|
|
|
drawBuffer->lights[drawBuffer->lights.size()-1].direction = direction;
|
|
|
}
|
|
|
|
|
|
- /*
|
|
|
+
|
|
|
if(_doVisibilityChecking) {
|
|
|
targetCamera->buildFrustumPlanes();
|
|
|
setEntityVisibility(&rootEntity, targetCamera);
|
|
|
}
|
|
|
- */
|
|
|
- rootEntity.transformAndRender(drawBuffer, NULL);
|
|
|
|
|
|
-
|
|
|
+ rootEntity.transformAndRender(drawBuffer, NULL);
|
|
|
renderer->processDrawBuffer(drawBuffer);
|
|
|
-
|
|
|
}
|
|
|
|
|
|
|