RNK™ Master View
Advanced lighting, vision limitation, and fog of war controls for Foundry VTT.
Supports Foundry VTT V11, V12, and V13
Features
Master View
When no tokens are controlled, GMs can see the entire scene with adjustable brightness.
Global Light Configuration
Fully customize the global/ambient light source with all standard light options:
- Color and intensity
- Luminosity, saturation, contrast, shadows
- Animation type, speed, and intensity
- Darkness threshold (when global light activates)
Illumination Colors
Set custom daylight and darkness colors for each scene:
- Daylight Color: Illumination at darkness level 0
- Darkness Color: Illumination at darkness level 1
Vision Limitation
Restrict how far tokens can see:
- Set maximum sight range per scene
- Configure limits for each detection mode
- Apply limits within light sources or drawings
- Stack limitations from multiple sources
Lighting Drawings
Control lighting within drawing boundaries:
- Enable any drawing to define a lighting region
- Inherit settings from other drawings or the scene
- Auto-fit drawings to wall structures
- Override global light, colors, and vision limits
Fog of War Reveal
Reveal fog of war for all users without affecting saved exploration progress.
Light Priority
Control how light sources interact:
- Higher priority lights override lower priority for vision effects
- Darkness sources can suppress normal lights
Installation
Method 1: Foundry Module Browser
- Open Foundry VTT
- Go to Add-on Modules tab
- Click Install Module
- Search for "RNK™ Master View"
- Click Install
Requirements
- Foundry VTT: Version 11, 12, or 13
- libWrapper: Required for API compatibility
Usage
Scene Configuration
Open any scene's configuration and you'll find new options:
- Global Illumination: Button to configure the global light source
- Vision Limitation: Button to set sight and detection limits
- Daylight/Darkness Colors: Color pickers below the darkness slider
- Reveal Fog of War: Checkbox in the fog section
Drawing Configuration
Select a drawing and open its configuration. A new Lighting tab provides:
- Enable lighting control for this drawing
- Choose a prototype to inherit settings from
- Configure global light and vision limits for the area
- Set custom illumination colors
Light Configuration
Open any ambient light's configuration to find:
- Priority: Control interaction with other lights
- Animation Resolution: Fine-tune animation scale
- Vision Limitation: Restrict vision within this light's area
Token Configuration
In the token's sight settings:
- Vision Range (In Light): Maximum distance this token can see in lit areas
Lighting Controls
In the lighting controls toolbar (left sidebar):
- GM Vision: Toggle enhanced GM visibility
- Light Delimiters: Show/hide light boundary indicators
API
The module exposes a global API for macro/module integration:
// Access the lighting system
RNKVision.lightingSystem
// Toggle debug mode
RNKVision.debug = true;
// Toggle Master View Hub
RNKVision.toggleGMHub();
// Toggle GM Vision
RNKVision.toggleGMVision();
// Get region at a point
const region = RNKVision.lightingSystem.getRegionAt({x: 1000, y: 1000}, 0);
// Check if fog is revealed
const revealed = region?.fogRevealed;
Compatibility
RNK™ Vision is designed to work alongside other modules. Known compatible modules:
- Levels
- Wall Height
- Token Vision
- Various lighting enhancement modules
If you encounter compatibility issues, please report them on GitHub.
Credits
Inspired by the original Perfect Vision module by dev7355608.
License
MIT License - See LICENSE file for details.
Support
- Issues: GitHub Issues