/** * Check the rootScene against camera frustum and if intersects process it recursively. * The global OccludersExtractor variables need to be initialized first. * Variables are updated and used in {@link ShadowUtil#updateShadowCamera} at last. */ public int addOccluders(Spatial scene) { if ( scene != null ) process(scene); return casterCount; }
/** * Check the rootScene against camera frustum and if intersects process it recursively. * The global OccludersExtractor variables need to be initialized first. * Variables are updated and used in {@link ShadowUtil#updateShadowCamera} at last. */ public int addOccluders(Spatial scene) { if ( scene != null ) process(scene); return casterCount; }