Register

Token Elevation Shadows

An Add-on Module for Foundry Virtual Tabletop

Author: Filroden Project: Source Foundry Versions 13+ (Verified 13.351) Last Updated 6 days, 14 hours ago

This package contains art, text, or software code produced using generative AI.

An LLM was used as a code-generation tool and to generate localisation files.

Token Elevation Shadows

Token Elevation Shadows is a lightweight, system-agnostic module that automatically generates 2.5D drop shadows for tokens based on their elevation. There is an optional game setting to only apply elevation shadows if the token has a specific status/active effect, e.g. fly applied.

It features a custom, high-performance PIXI shader that can strip away the baked-in drop shadows often found on standard digital assets. This ensures a clean, consistent silhouette whether a creature is walking on the ground or flying high above it, without requiring manual image editing.

Solar Configuration

The module uses a trigonometric Altitude and Azimuth model to determine the length and direction of shadows. You can configure the global sun position in the module settings.

Simulating Time of Day

Simulating Geographical Location

You can adjust the midday Altitude to reflect where your adventure takes place on the globe:

Time Integration

Token Elevation Shadows features automation to synchronise your shadows with the in-game clock. When enabled, the sun will automatically sweep from East to West, stretching and shrinking shadows based on the time of day, and fading them out completely at night.

Go to the module settings and change Time Integration to Core World Time. This natively supports standard Foundry time progression, as well as popular modules that manipulate the core clock, including:

(Note: For the automated day/night cycle to calculate correctly, ensure you have set a midday Altitude in your Solar Configuration settings).

Design Philosophy: the Canvas Illusion

Token Elevation Shadows is designed to create a 2.5D illusion of height without disrupting the strict 2D mechanical rules of Foundry VTT. To achieve this, the module deliberately separates the token's visual artwork from its logical footprint.

When a token takes flight, you will notice the following intentional design choices:

Categories

Available Versions

  1. Version 1.1.0

    6 days, 14 hours ago
    Foundry Version 13+ (Verified 13.351) Manifest URL Read Notes
  2. Version 1.0.0

    6 days, 18 hours ago
    Foundry Version 13+ (Verified 13.351) Manifest URL Read Notes