Skip to content

Scene Ambience

Calendaria can automatically sync scene darkness, lighting, and color with time of day, weather, and moon phases.

Darkness follows a smooth cosine curve throughout the day:

  • Midnight: Maximum darkness (1.0)
  • Noon: Minimum darkness (0.0)
  • Dawn/Dusk: Gradual transitions

Darkness recalculates when the hour changes (with smooth transitions) and immediately syncs when switching to a new scene. Only the GM can update scene darkness.

Enable via Settings Panel > Canvas tab > Sync Scene Darkness with Time (default: enabled).

A global brightness multiplier (0.5x–1.5x, default 1.0x) is applied to all scenes unless overridden per-scene. Configure in Settings Panel > Canvas tab.

Override settings for individual scenes via the Scene Configuration > Calendaria tab:

SettingOptions
Darkness SyncUse Global / Enabled / Disabled
Brightness Multiplier0.5x - 1.5x slider
Hide HUD for PlayersAutomatically hide the HUD for players when this scene is active
Climate Zone OverrideUse a different climate zone than the calendar’s default
FX Top-Down OverrideUse Global / Top-Down / Side View. Controls both FXMaster canvas weather and HUD dome renderer direction

The Force Downward Weather setting clamps particle angles to within ±45° of vertical, ensuring weather always falls from above. This applies to both FXMaster canvas particles and the HUD dome renderer. Useful for side-view scenes where wind-driven particles might otherwise blow horizontally or upward.

Enable via Settings Panel > Weather tab > FXMaster section.

[!NOTE] When a scene uses Side View mode (via the per-scene FX Top-Down Override), particles are automatically forced downward regardless of this setting.


When Enable Dynamic Daylight is enabled in Calendar Editor > Time tab, daylight hours vary throughout the year. Sunrise and sunset times shift to reflect longer summer days and shorter winter days.

Darkness is shaped by the actual sunrise and sunset times. The curve transitions smoothly from full darkness at midnight through dawn, stays minimal during daylight, then rises again through dusk.

Climate zones can override the global daylight curve with zone-specific settings, so different scenes can have different sunrise/sunset times based on their assigned zone.

Daylight is resolved using the following priority (first match wins):

PrioritySourceDescription
1Zone LatitudeAstronomical hour-angle calculation based on the zone’s latitude (-90° to +90°)
2Zone ManualCustom shortest/longest day hours set directly on the zone
3Global DaylightCalendar-wide solstice settings from the Time tab
4Static Fallback50% of the day (e.g., 12h for a 24h day)

When a zone has a latitude set, Calendaria uses an astronomical hour-angle formula to compute daylight hours for each day of the year. This produces realistic seasonal variation:

  • Equator (0°): ~12 hours year-round
  • Mid-latitudes (±45°): ~8-16 hours depending on season
  • Polar regions (±66°+): Polar day/night extremes near solstices

[!NOTE] The formula adapts to the calendar’s year length, hours per day, and configured summer solstice date, so it works with non-Earth calendars too.


Moons can reduce nighttime darkness based on their phase. Each moon’s moonBrightnessMax (0–0.3) is set in Calendar Editor > Moons tab. Illumination follows a cosine curve: maximum at full moon, zero at new moon. Multiple moons sum their contributions (capped at 0.3), each tinted with its configured color.

Enable via Settings Panel > Canvas tab > Moon Illumination.

See Moon Phases: Moon Brightness for configuration details.


Climate zones can define dawn/dusk/night hue values that shift scene environment lighting throughout the day. Five phases control the hue: night, dawn transition, day (neutral), dusk transition, and night transition. Transition durations are configurable per-zone.

Color shifting is independent of darkness. Hue changes apply to environment lighting while darkness is controlled separately by time, weather, and moon illumination.

Configure per-zone in the Climate Editor > Environment tab. Enable globally via Settings Panel > Canvas tab > Sync Scene Ambience with Time of Day.


The final darkness value combines multiple factors:

Base darkness (from time of day)
× Scene brightness multiplier
× Climate zone brightness multiplier
+ Weather darkness penalty
- Moon illumination (capped at 0.3)
= Final darkness (clamped 0-1)

Weather conditions add darkness:

ConditionPenalty
Clear0
Overcast+0.1
Heavy Rain+0.2
Thunderstorm+0.3

Climate zones can define a brightness multiplier that scales overall scene brightness.


When Sync Scene Ambience with Weather is enabled (default), Calendaria syncs the full set of Foundry scene environment properties with weather and climate settings:

  • Per channel (Day/Night): Hue, intensity, luminosity, saturation, shadows
  • Global: Blend ambience (cycle) toggle

Weather preset values take precedence, with climate zone values as fallback. When neither defines overrides, the scene’s existing environment settings are preserved. No values are reset.

Configure per-preset in the Weather Editor and per-zone in the Climate Editor > Environment tab.


See API Reference and Hooks.