Drawable Collada
Types
Properties
World-space bounding sphere for ShadowCaster cascade culling.
Kept alive off-camera for the shadow/sightline depth passes; color draw skips.
World-space bounding sphere center used to skip cascades whose AABB doesn't intersect this caster. Default null opts out of culling — the caster is dispatched into every cascade. Implementations populate this from their shape's boundingBox.center to gain per-cascade culling.
World-space bounding sphere radius. Only consulted when shadowCasterCenter is non-null.
Cast/receive selector for cascaded sun shadows. Set per scene by earth.worldwind.formats.collada.ColladaScene and earth.worldwind.formats.gltf.GltfScene. Default ShadowMode.ENABLED = both casts and receives.
Functions
Renders this drawable's caster geometry into the currently bound cascade shadow map. Called once per cascade by DrawableShadow. The depth-pass program is already bound and the cascade's MVP base matrix loaded; the implementation only needs to bind its own vertex buffer, set its model translation via DrawableShadow.loadCasterTranslation / DrawableShadow.loadCasterMatrix, and call DrawableShadow.drawShapeStateOccluder (or issue raw draws for non-DrawShapeState geometry).
Render this drawable's filled-triangle geometry into the sightline's depth pass.