Skip to main content

proof_engine/lighting/
mod.rs

1//! Advanced lighting subsystem for Proof Engine.
2//!
3//! Provides a full suite of light types (point, spot, directional, area, emissive glyph,
4//! animated, IES profile), shadow mapping (cascaded, omnidirectional, atlas, PCF, VSM),
5//! ambient/indirect lighting (SSAO, spherical harmonics, light probes, reflection probes),
6//! and volumetric effects (god rays, volumetric fog, tiled/clustered light culling).
7
8pub mod lights;
9pub mod shadows;
10pub mod ambient;
11pub mod volumetric;
12
13// ── Re-exports ──────────────────────────────────────────────────────────────
14
15pub use lights::{
16    PointLight, SpotLight, DirectionalLight, AreaLight, EmissiveGlyph,
17    AnimatedLight, IESProfile, Light, LightId, LightManager,
18    AttenuationModel, AreaShape, AnimationPattern, CascadeShadowParams,
19};
20
21pub use shadows::{
22    ShadowMap, CascadedShadowMap, OmniShadowMap, ShadowAtlas, ShadowAtlasRegion,
23    PcfKernel, VarianceShadowMap, ShadowBias, ShadowConfig, ShadowSystem,
24};
25
26pub use ambient::{
27    SsaoConfig, SsaoKernel, SsaoResult, SphericalHarmonics9,
28    LightProbe, LightProbeGrid, ReflectionProbe, ReflectionProbeManager,
29    AmbientCube, HemisphereLight, AmbientSystem,
30};
31
32pub use volumetric::{
33    VolumetricLightShafts, VolumetricFog, FogDensityField, TiledLightCulling,
34    LightCluster, ClusteredLightAssignment, VolumetricSystem,
35};