Celestial Cycles Symphony
A dynamic day/night system for Unreal Engine 5.7 featuring realistic sun and moon movement with stunning atmospheric transitions.
Live Celestial Simulation
Sun Position
Elevation: 0° | Azimuth: 90°
Moon Position
Elevation: 0° | Azimuth: 270°
Time Progress
Day: 25% | Night: 75%
System Features
Dynamic Sun Movement
Realistic solar path simulation with proper elevation and azimuth calculations based on time and geographic location.
Lunar Cycle Simulation
Accurate moon phases and movement with proper lunar orbit simulation and realistic illumination.
Atmospheric Effects
Beautiful sky gradients, realistic twilight periods, and dynamic cloud lighting that responds to celestial positions.
Customizable Parameters
Adjust time scale, geographic location, season settings, and atmospheric properties to match your project needs.
Blueprint Integration
Easy integration with Unreal Engine's blueprint system for event-driven celestial events and time-based triggers.
Performance Optimized
Efficient calculations and rendering techniques ensuring smooth performance even on lower-end hardware.
Implementation Guide
Unreal Engine 5.7 Integration
Core Components
- Sun Directional Light: Controls sunlight intensity, color, and direction
- Moon Directional Light: Provides moonlight with adjustable intensity
- Sky Atmosphere: Handles atmospheric scattering and sky appearance
- Sky Light: Captures sky illumination for indirect lighting
- Exponential Height Fog: Enhances atmospheric depth and mood
Blueprint Implementation
// Event Tick - Update celestial positions
Event Tick
Get Game Time → Calculate Sun Position → Set Sun Rotation
Calculate Moon Position → Set Moon Rotation
Update Sky Light Parameters
Update Atmosphere Settings
Update Fog Parameters
// Calculate Sun Position Function
Input: Current Time, Latitude, Longitude
Output: Sun Elevation, Sun Azimuth
// Calculate Moon Position Function
Input: Current Time, Latitude, Longitude, Moon Phase
Output: Moon Elevation, Moon Azimuth
Required Assets
- Directional Light (2x - Sun & Moon)
- Sky Atmosphere Component
- Sky Light Actor
- Exponential Height Fog
- Post Process Volume
- Blueprint Actor Class
Key Parameters
- Time Scale Multiplier
- Geographic Coordinates
- Seasonal Adjustments
- Atmospheric Density
- Light Transition Curves