{"id":16922327,"url":"https://github.com/dev7355608/perfect-vision","last_synced_at":"2025-03-22T11:30:58.014Z","repository":{"id":43918853,"uuid":"312411711","full_name":"dev7355608/perfect-vision","owner":"dev7355608","description":"Foundry VTT Module: Lighting Drawings and Vision Limitation.","archived":false,"fork":false,"pushed_at":"2023-10-21T06:03:10.000Z","size":8592,"stargazers_count":54,"open_issues_count":1,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-18T10:51:31.044Z","etag":null,"topics":["foundry-vtt","foundry-vtt-module"],"latest_commit_sha":null,"homepage":"https://foundryvtt.com/packages/perfect-vision","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dev7355608.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-12T22:32:18.000Z","updated_at":"2025-03-08T23:49:30.000Z","dependencies_parsed_at":"2024-10-28T13:17:17.156Z","dependency_job_id":"8a2f19cf-6205-4a4b-bf5a-4a0220e3c81b","html_url":"https://github.com/dev7355608/perfect-vision","commit_stats":null,"previous_names":[],"tags_count":342,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev7355608%2Fperfect-vision","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev7355608%2Fperfect-vision/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev7355608%2Fperfect-vision/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev7355608%2Fperfect-vision/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev7355608","download_url":"https://codeload.github.com/dev7355608/perfect-vision/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244951197,"owners_count":20537335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["foundry-vtt","foundry-vtt-module"],"created_at":"2024-10-13T19:55:03.702Z","updated_at":"2025-03-22T11:30:57.489Z","avatar_url":"https://github.com/dev7355608.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Version](https://img.shields.io/github/v/release/dev7355608/perfect-vision?display_name=tag\u0026sort=semver\u0026label=Latest%20Version)](https://github.com/dev7355608/perfect-vision/releases/latest)\n![Foundry Version](https://img.shields.io/endpoint?url=https://foundryshields.com/version?url=https%3A%2F%2Fraw.githubusercontent.com%2Fdev7355608%2Fperfect-vision%2Fmain%2Fmodule.json)\n[![Forge Installs](https://img.shields.io/badge/dynamic/json?label=Forge%20Installs\u0026query=package.installs\u0026suffix=%25\u0026url=https%3A%2F%2Fforge-vtt.com%2Fapi%2Fbazaar%2Fpackage%2Fperfect-vision\u0026colorB=blueviolet)](https://forge-vtt.com/bazaar#package=perfect-vision)\n[![License](https://img.shields.io/github/license/dev7355608/perfect-vision?label=License)](LICENSE)\n\n# Perfect Vision (Foundry VTT Module)\n\n\u003e Perfect Vision is _not_ going to be updated for V11.\n\u003e - **Enhanced Global Illumination**: You can configure `CONFIG.Canvas.globalLightConfig` in a world script.\n\u003e - **Daylight/Darkness Color**: You can set `CONFIG.Canvas.daylightColor` and `CONFIG.Canvas.darknessColor` in a world script.\n\u003e - **Improved GM Vision**: Replaced by the [GM Vision](https://foundryvtt.com/packages/gm-vision) module.\n\u003e - **Light Animation Resolution**: No replacement.\n\u003e - **Light Delimiters**: No replacement.\n\u003e - **Lighting Drawings**: No replacement.\n\u003e - **Reveal Fog of War**: You can reveal the fog of war with [this](https://gist.github.com/dev7355608/c5ae9c6ae472e5a9e91a44e728eb6590) macro.\n\u003e - **Vision Limitation**: Replaced by the [Limits](https://foundryvtt.com/packages/limits) module.\n\u003e - **Vision Range (In light)**: Replaced by the *Light Perception* detection mode of the [Vision 5e](https://foundryvtt.com/packages/vision-5e) module. No replacement for systems other than D\u0026D 5e.\n\nPerfect Vision provides additional lighting and vision settings and lets allows you to control lighting and vision locally within the shape of a drawing.\nIt gives you the ability to control the maximum vision and detection ranges within the area of drawings, lights, templates, and scenes.\n\nPerfect Vision adds/exposes the following lighting and vision settings.\n- **Global Illumination**: The global light source is fully configurable with all the usual light options.\n- **Animation Resolution**: Controls the scale of the animation of the light source.\n- **Daylight/Darkness Color**: The illumination colors at Darkness Level 0 and 1 respectively.\n- **Reveal Fog of War**: Reveal the fog of war for all users. This does not override the saved fog exploration progress.\n- **Vision Limitation**: Configure the maximum range that tokens can see.\n- **Vision Range (In light)**: Controls the maximum distance a token can see in illuminated areas.\n\nA 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](https://github.com/dev7355608/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.\n\nPerfect 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev7355608%2Fperfect-vision","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev7355608%2Fperfect-vision","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev7355608%2Fperfect-vision/lists"}