Description
Overview
Iron's Spells: Light Pollution is an addon for Iron's Spells 'n Spellbooks. It adds five legendary spells, each supported by a dedicated real-time dynamic colored-lighting and ray-traced shadow rendering pipeline.
Features
This mod provides real-time colored point lights without requiring shaders.
- Physical light sources: Spell effects illuminate their surroundings, with brightness and color changing throughout each spell's phases instead of merely overlaying a texture.
- Ray-traced shadows: A 64 x 64 x 64-block occupancy volume is built around the camera. Each block is subdivided into 8 x 8 x 8 subvoxels, providing 1/8-block precision for per-ray intersection tests.
- Light through detailed structures: Gaps in fences, trapdoor openings, and iron-bar spacing all transmit light and cast their corresponding patterns onto nearby surfaces. Occlusion masks are baked directly from block models and texture alpha, making their shapes consistent from every viewing angle.
- Soft penumbrae: Multiple shadow rays are randomly sampled across each light source's spherical surface every frame, then converged through temporal accumulation to produce soft, penumbral shadows.
- Spatiotemporal denoising: Temporal reprojection combined with edge-aware spatial filtering, following the denoising pipeline used by the original implementation.
Compatibility
- Lighting is rendered client-side; no additional server configuration is required.
- When used with shader loaders such as Oculus or Iris, shader packs may take control of the post-processing pipeline. If the lighting effects do not appear, temporarily disable the shader pack.
- This mod's lighting pipeline operates independently and does not alter vanilla block light levels. It therefore does not affect mechanics that depend on light levels, such as mob spawning.




