Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Here’s how to apply weather to your world and environment settings (like the day and night cycle).
Applying weather to your world relies on a few things which you need to set first. Follow the steps explained below.
Environment parameters
Go to the World tab in the Panel area (right side of the main Editor screen).
Find environmentParameters, where you can find two vital values:
in environmentDefinition -you can set the general mood of your level (what kind of light and colour settings will be used.
in weatherTemplate - you can check what are the possible weather templates that can be used for your level. This is a 2d array: each level has dynamic properties already set and they can be later used in your environment editor.
Add environment and weather
Let’s search for available environment files in the Asset Browser (CTRL+A) and set it in the environmentDefinition (.env files) - when you click a file in the Asset Browser, use the green arrow to add it to this field.
The same works for the weatherTemplate. Go ahead and search for weather in your Asset Browser (these are .csv “weather” files). After you add the file, you should see a 2D arraywhere you can paste to the cell value.
World Environment Editor
Once you hook these two up, open the World Environment Editor where you can set the weather be choosing from available presets (such as: “clear”, “clouds_fog”, “storm” etc.) and check how a preset will look at different times of day and night.
Weather presets get data from a csv table which you can open After pressing the Open WT button.
See how this works in the video tutorial below:
2023-09-05 11-35-26.mkvTable of contents:
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|