Magic Lightmap Switcher
  • Introduction
  • GETTING STARTED
    • Compatibility
    • General Settings
    • Quick Start
    • FAQ
  • Usage
    • Scenes Workflow
    • Custom Blendable
    • Skybox Blending
    • API
  • SYSTEM COMPONENTS
    • MLS Manager Window
    • MLS Preset Manager
    • MLS Light
    • MLS Static Renderer
    • MLS Dynamic Renderer
  • DEVELOPMENT
    • Latest LITE Version (1.37.3)
    • Latest PRO Version (1.2.1)
    • LITE Version Changelog
    • PRO Version Changelog
  • INTEGRATIONS
    • Bakery - GPU Lightmapper
    • Enviro - Sky and Weather
  • CONTACTS
  • DISCORD
  • TELEGRAM
  • TWITTER
  • EMAIL
  • FORUM THREAD
Powered by GitBook
On this page

Was this helpful?

  1. INTEGRATIONS

Enviro - Sky and Weather

PreviousBakery - GPU Lightmapper

Last updated 3 years ago

Was this helpful?

You can create presets for different times of day with Enviro. For this, MLS uses .

You just need to add the prepared script EnviroHours.cs from the Magic Lightmap Switcher ➞ Examples ➞ Scripts folder to the EnviroSky object.

The Mls_b_EnviroHours variable is linked to the time system in Enviro, by moving the slider you can choose the time of day for which you want to create a preset.

To create a preset with the current time of day, add the EnviroSky object to the preset manager and specify the time in the range from 0 to 24.

Create the number of presets you need, select Queue for Storing Mode option and check the Create Lightmap Scenario option.

After pressing the Bake And Store Lightmap Queue button, lightmaps will be baked and saved automatically for all presets.

Custom Blendables