# Enviro - Sky and Weather

You can create presets for different times of day with Enviro. For this, MLS uses [Custom Blendables](../using/custom-blendable).&#x20;

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

![](https://484743511-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML4jBQpiY0hXPLy-BzC%2F-MgXbMJPfGxoox2EruWz%2F-MgXcb9U2xiQQSYkxU1h%2Fimage.png?alt=media\&token=28326ebc-bd3b-4c2a-ade9-706aea10170d)

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.

![](https://484743511-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML4jBQpiY0hXPLy-BzC%2F-MgXbMJPfGxoox2EruWz%2F-MgXdyqCOZED6utqI233%2Fimage.png?alt=media\&token=bcf3b798-505c-44bd-adb0-ba52036035c4)

Create the number of presets you need, select **Queue** for **Storing Mode** option and check the **Create Lightmap Scenario** option.&#x20;

![](https://484743511-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML4jBQpiY0hXPLy-BzC%2F-MgXbMJPfGxoox2EruWz%2F-MgXe_qD3Nz0vN4cSAw4%2Fimage.png?alt=media\&token=b0ee3907-33bc-4f91-908f-bdb1a411753a)

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