TimeShift: Dynamic Lightmap & Day/Night System


... Next-Gen Optimization & Zero-GC Architecture: ... ⚡ Dual-Path GPU Lightmap Blending: ... Zero VRAM Waste: Intelligent boundary snapping skips GPU blending passes when static. ... Uses


by Time Shift Assets


Price History +

TimeShift: Dynamic Lightmap Engine blends baked lightmaps, probes, and skyboxes at runtime. Create 24h day/night cycles & spatial transitions across Built-in and URP with minimal FPS impact.

Unity Version Support:

Unity 2022.3 LTS, 2023 LTS and Unity 6+


Render Pipeline Compatibility:

  • ✅ Built-in Render Pipeline (BiRP)
  • ✅ Universal Render Pipeline (URP) - Forward & Deferred

Platform Support:

  • PC (Windows, macOS, Linux)
  • Mobile (Android, iOS)
  • Console & VR/XR ready: built using platform-agnostic standard Unity APIs and C# Job System

Performance Specs:

  • Runtime GC Allocation: 0 bytes per frame during continuous blending and switching.
  • GPU Overhead: < 0.8 ms on modern GPUs via Compute Shader dispatch.
  • CPU Overhead: Scaled across worker threads using IJobParallelFor for Light Probes.

Codebase & Asset Contents:

  • 68 C# Scripts (cleanly separated with Runtime and Editor Assembly Definitions).
  • 2 Compute Shaders (TSLightmapCompute, TSVolume3DCompute).
  • 3 Custom Shaders (TSLightmapBlend, TSCubemapBlend, TSSkyboxBlend).
  • 2 Complete Demo Scenes (Demo Day Night, Demo Rooms).
  • Modern UI Toolkit custom editor styling (.uss, .uxml).


> 📢 CUSTOMER SUPPORT NOTICE:

> If you encounter any bugs, have questions, or need assistance, please reach out through our official support channels. We are always happy to help!


• Official Forum: Visit Thread

• Discord Server: Join Community


---


⚠️ Credits & Disclaimers: 3D lowpoly city in screenshots & tutorial video used for demonstration purposes is Created by ANIMPIC STUDIO and are NOT included in this package.


---


⚡ TimeShift: Dynamic Lightmap & Day/Night System

Next-Generation Runtime Lighting, Lightmap Blending & 24-Hour Environment Manager


Tired of choosing between the performance of pre-baked lightmaps and the flexibility of dynamic lighting? TimeShift: Dynamic Lightmap & Day/Night System bridges the gap.


TimeShift: Dynamic Lightmap & Day/Night System is a industry grade runtime lighting architecture that allows you to bake multiple lighting scenarios (Day, Night, Morning, Noon, Sunset, Overcast, Room-to-Room) and smoothly crossfade or instantly swap between them in real-time with zero GC spikes (0 B/frame).


---


🌟 Key Features


🌐 Full-Spectrum Environmental & Probe Blending:

  • Multi-Layer Lightmaps: Seamless blending for HDR `Color`, `Directional` vectors (with real-time mathematical renormalization), and `Shadowmask` textures.
  • Adaptive Probe Volumes (APV): Native runtime scenario blending for modern Unity 6 / Core RP Probe Reference Volumes.
  • Multi-Threaded Light Probes: Light Probe SH (Spherical Harmonics) blended across all CPU cores with zero main-thread hitches.
  • Reflection Probes & Cubemaps: Smooth cubemap crossfading and real-time intensity adjustments.
  • Dynamic Sky & Atmosphere: Live interpolation of procedural skybox materials, atmospheric fog (density, color, distance), and ambient gradient/trilight settings.
  • Sun & Direct Lighting: Full parameter synchronization for directional lights (sun/moon rotation, intensity, color temperature, shadow strength).

🚀 Next-Gen Optimization & Zero-GC Architecture:

  • Direct GPU VRAM Execution: Compute Shaders and `Graphics.CopyTexture` blend lightmaps entirely inside VRAM, bypassing slow CPU decompression and avoiding multi-frame tile lag.
  • SIMD & C# Job System: Probe mathematical operations execute in parallel using Unity's native `IJobParallelFor` worker threads.
  • Spatial Lighting Volumes: Localize scenario blending into 3D trigger zones (`Box`, `Sphere`, `Custom Colliders`) with customizable falloff distance and priority layering.
  • True Zero GC Spikes: Double-buffered ping-pong RenderTextures and pre-allocated arrays guarantee 0 B/frame allocations during active blending.
  • Intelligent Boundary Snapping: Automatically bypasses blending passes when weights hit 0.0 or 1.0, freeing GPU cycles when stationary.

⚡ Dual-Path GPU Lightmap Blending:

  • Compute Shader Path (PC / Consoles): Ultra-fast multi-threaded GPU blending kernels (`Color`, `Directional`, `Shadowmask`).
  • Shader Blit Fallback (Mobile / OpenGL): Lightweight multi-pass rasterized blending optimized for mobile performance.
  • Zero VRAM Waste: Intelligent boundary snapping skips GPU blending passes when static.

🗺️ Multi-Scene & Open-World Streaming:

  • Seamless support for Unity's Additive Subscene Workflow.
  • Automatic cross-scene cache re-indexing (RefreshSceneCaches) reconnects newly spawned renderers instantly.
  • Uses Radial Spatial Streaming, eliminating 180° camera-spin popping and saving CPU cycles.

📦 Smart Memory Manager & Background Preloader:

  • 4 Streaming Policies: PreloadAdjacent (for 24h cycles), ProximityTriggered (for caves/zones), LRUCache (for timelines), and Immediate (on-demand).
  • Asynchronous background loading via Unity Addressables or zero-dependency Native Coroutines.
  • Auto-eviction keeps memory strictly within budget to prevent mobile Out-of-Memory (OOM) crashes.

🔮 Multi-Threaded Light Probe Blending (C# Job System):

Simultaneously interpolates all 27 Spherical Harmonics (L2) coefficients across thousands of light probes on background CPU worker threads with zero main-thread stutters.


🚪 Spatial Lighting Volumes (Interiors vs. Exteriors):

Trigger localized lighting changes as players walk into dungeons, caves, or buildings using Box, Sphere, or Custom Collider volumes with priority hierarchies and smooth distance falloffs.


⏰ 24-Hour Timeline & Circular Day/Night Sequencer:

  • Continuous time-of-day progression with seamless midnight wrap-around (24:00 ➔ 00:00).
  • Customizable event triggers for streetlights, fireflies, astronomical phases, and audio ambience.

🌌 Universal Cross-Pipeline Skybox Blending:

Custom panoramic (2D Lat-Long) and Cubemap skybox blending shader compatible with Built-in and URP.


🎛️ Automated Batch Queue Baker:

Define presets and bake your entire multi-scenario lighting cycle sequentially with a single click. No manual scene babysitting required.


📦 Memory Streaming & Addressables Ready:

Built-in scenario streaming with LRU cache eviction and spatial proximity preloading to keep memory footprints low on mobile and consoles.


🖥️ Commercial-Grade UI Toolkit Editor:

Modern Dashboard Hub and custom SceneView HUD overlay for fast authoring and live debugging.


📋 Technical Notes & Recommendations:

  • HDR Precision Pipeline: Real-time blending utilizes 16-bit floating point (ARGBHalf) render buffers to preserve 100% HDR color fidelity with zero banding.
  • Static Boundary Snapping: When stationary (at 0.0 or 1.0 blend), the system automatically bypasses active render buffers and references native baked textures directly to minimize VRAM footprint.
  • Reflection Probes: Supports custom cubemap crossfading across Standard Forward and Deferred pipelines. For Forward+ in URP, Adaptive Probe Volumes (APV) or Light Probes are recommended for real-time day/night cycles.

---


🎮 What's Included?

  • Full C# source code and custom compute/raster shaders.
  • Ready-to-use skybox materials and lighting presets.
  • Comprehensive documentation and diagnostic tools.
  • PDF User Manual with step-by-step guides.

2 Complete Demo Scenes:

  • Demo Day Night: Full 24-hour outdoor cycle with interactive time slider HUD.
  • Demo Rooms: Multi-room interior/exterior architectural setup showcasing spatial trigger volumes.


Need help, found an issue, or have a feature request? Reach out to us: