import * as THREE from 'three'; import type { ShadowUniforms, OccluderUniforms } from '../hex/hexMeshShared'; /** * Patch a BodyMaterial's underlying ShaderMaterial with shadow/eclipse code. * * The function MUST be called before the material is used for the first time * (i.e. before the first render). It: * 1. Prepends uniform declarations + smootherstep helper to the fragment shader. * 2. Injects the shadow GLSL block right before the closing } of main(). * 3. Wires the uniform { value } objects to the same references used by * ShadowUpdater and OccluderUpdater — no extra per-frame work needed. */ export declare function injectPlanetShadows(mat: THREE.ShaderMaterial, occluder: OccluderUniforms, shadow: ShadowUniforms): void; //# sourceMappingURL=shadowInjection.d.ts.map