Skip to content

dev7355608/perfect-vision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Version Foundry Version Forge Installs License

Perfect Vision (Foundry VTT Module)

Perfect Vision is not going to be updated for V11.

  • Enhanced Global Illumination: You can configure CONFIG.Canvas.globalLightConfig in a world script.
  • Daylight/Darkness Color: You can set CONFIG.Canvas.daylightColor and CONFIG.Canvas.darknessColor in a world script.
  • Improved GM Vision: Replaced by the GM Vision module.
  • Light Animation Resolution: No replacement.
  • Light Delimiters: No replacement.
  • Lighting Drawings: No replacement.
  • Reveal Fog of War: You can reveal the fog of war with this macro.
  • Vision Limitation: Replaced by the Limits module.
  • Vision Range (In light): Replaced by the Light Perception detection mode of the Vision 5e module. No replacement for systems other than D&D 5e.

Perfect Vision provides additional lighting and vision settings and lets allows you to control lighting and vision locally within the shape of a drawing. It gives you the ability to control the maximum vision and detection ranges within the area of drawings, lights, templates, and scenes.

Perfect Vision adds/exposes the following lighting and vision settings.

  • Global Illumination: The global light source is fully configurable with all the usual light options.
  • Animation Resolution: Controls the scale of the animation of the light source.
  • Daylight/Darkness Color: The illumination colors at Darkness Level 0 and 1 respectively.
  • Reveal Fog of War: Reveal the fog of war for all users. This does not override the saved fog exploration progress.
  • Vision Limitation: Configure the maximum range that tokens can see.
  • Vision Range (In light): Controls the maximum distance a token can see in illuminated areas.

A drawing allows you to change the lighting within the shape of the drawing; see Lighting tab of the drawing config. With the Fit To Walls option you can quickly fit the shape to the underlying wall structure; this is a lot faster than tracing the boundary of the structure with the polygon tool. For polygon drawings I recommend the Advanced Drawing Tools module, which makes it possible to modify polygons in case you make a mistake or need to change the shape. Each roof/level tile inherits the lighting settings of the drawing linked to it; see the Lighting setting in the Overhead tab of the tile config. By default roofs/levels use the lighting settings of the scene.

Perfect Vision improves the token visibility test such that tokens close to a wall won't be visible through the wall on the other side it. It also includes multiple performance improvements; most notably fog exploration optimizations, which eliminate lags/freezes almost entirely that occur when the fog exploration is saved.