MovingBlocks/Terasology — Issue #186: Chunks are not culled correct unless an entity is rendered
Author: immortius
Created: 2012-03-03 08:25:27+00:00
State: open
Labels: Bug

This is a bit perculiar, but the chunk-view frustrum check does not seem to work unless an entity-view frustrum check occurred eariler in the render loop (or last render loop or similar).

Simple way to reproduce is the change the isEntityVisible() method in WorldRenderer like so:

public boolean isEntityVisible(Entity e) {
return true;//_player.getActiveCamera().getViewFrustum().intersects(e.getAABB());
}