/sdflux

🔦 Infinite 2D lights with SDF for Godot Engine.

Primary LanguageGDScriptMIT LicenseMIT

🔦 sdflux

MIT License Godot Engine


WORK IN PROGRESS!

SDFlux is an addon for Godot Engine 4.x that enables infinite 2D lighting with realistic shadows using Signed Distance Fields (SDF). Create stunning lighting effects with soft and hard shadows, directional light fans, and camera-aware rendering that scales beautifully with your game world.

Using advanced SDF-based ray marching techniques, SDFlux delivers high-quality lighting that responds dynamically to your scene geometry, making it perfect for atmospheric 2D games, top-down adventures, and any project requiring sophisticated lighting effects.

🔦 Features

🎯 Node-based lighting system - seamlessly integrate lights into your scene tree

🌟 Advanced SDF rendering - realistic shadows with soft and hard edges

🎨 Flexible light types - omnidirectional and directional lighting

📦 Installation

  1. Download Latest Release
  2. Unpack the addons/sdflux folder into your /addons folder within the Godot project

🥰 Credits

  • Original SDF implementation by greycheeked
  • Refined and packaged for production use by bitbrain
  • Built for Godot Engine 4.x

📄 License

This project is licensed under the MIT License - see the LICENSE.md file for details.