Register

Image Fog (0.7 only)

An Add-on Module for Foundry Virtual Tabletop

Author: Calego Project Source: Project URL Versions 0.7.6+ (Verified 0.7.7) Last Updated 2 years, 11 months ago

The idea behind this project is to allow GMs to set an image as the fog layer for Foundry maps. This would be useful if say the players are following a rough map for overland travel but you want to show them the hexes they are traveling through within their own vision range.

 

The module respects all of expected fog vision limitations. On scenes that do not allow fog exploration, the fog is never dispelled, but the currently visible area of the background items are visible.

 

Example

Example with fog exploration on.

 

Compatibility

I'm honestly not sure how well this will play with modules that affect the fog layer, under the hood we take a snapshot of the fog layer on every sightUpdate, reverse it, and use that as a mask for our image, which otherwise sits on top of the usual fog layer.

 

Performance Hit

This has a not-insignificant hit on performance for fog clearing on a map. I'm not certain how much I can do to affect that, so I don't recommend using this on every map you use. My tests have indicated that the time it takes to calculate sight updates is multiplied by 1.5 - 2x on a scene with a fog image set. This module should not affect scenes without a fog image set, if you find that it does please raise a Github issue with details.

Categories

Available Versions

  1. Version 1.2.0

    2 years, 11 months ago
    Foundry Version 0.7.6+ (Verified 0.7.7) Manifest URL Read Notes
  2. Version 1.1.1

    Foundry Version 0.7.6+ (Verified 0.7.6) Manifest URL Read Notes
  3. Version 1.0.2

    Foundry Version 0.7.5+ (Verified 0.7.5) Manifest URL Read Notes
  4. Version 1.0.1

    Foundry Version 0.7.5+ (Verified 0.7.5) Manifest URL Read Notes