This update overhauls the module's core architecture to remove external dependencies and fixing synchronization issues.
1. Architecture & Core
- Standalone Operation: Removed the dependency on the Less Fog module. The module now manages fog transparency natively using Foundry V13's canvas API, fixing synchronization issues between GM and players.
- Backward Compatibility: Retained the existing structure. Scenes configured with previous versions will work immediately without requiring migration.
2. Usability & Localization
- Live Preview: Adjusting the opacity slider in the Scene Configuration now visually updates the canvas in real-time for the GM.
- Localization: Added full support for Brazilian Portuguese (pt-BR 🇧🇷).
🙏 Credits
- A special thanks to Trdischat and the Less Fog module. It served as the foundation and inspiration for this project.
Note: If you wish to continue using Less Fog for its other features (such as "Reveal Tokens" or GM vision tools), you can keep both modules active without issues. However, please ensure that the Fog Opacity setting inside the Less Fog module configuration is set to 1.0. This ensures that Less Fog doesn't apply its own filter, allowing this module to handle the visual transparency exclusively via the Scene configuration.