public static void setInstanceCullingFunction(BiFunction<Camera, Geometry, Boolean> instanceCullingFunction) {
        InstancedGeometry.instanceCullingFunction = instanceCullingFunction;
    }
Set the function used for culling instances from being rendered.
Default is {@link DefaultInstanceCullingFunction}.
jme3-core/src/main/java/com/jme3/scene/instancing/InstancedGeometry.java