basic fog and frustum culling