User Guide (Version 1.13)

Environment Nodes

You can use environment nodes in the Script Canvas to configure sky elements, such as sun position, moon position, and the skybox material. You can use these nodes to have specific control over the individual elements.

Some environment nodes (for example, Set Sun Latitude) have a Force Update parameter. You can use this parameter to make sudden changes to the sky appearance. Since time normally passes slowly with only gradual changes in sky appearance, Lumberyard updates only a portion of the sky for each frame, for better performance. When the sky appearance changes gradually, players are unlikely to notice this optimization. However, if the sky appearance suddenly changes by a large amount, players can notice unusual effects. To avoid this, specify True for the Force Update parameter to update the entire sky in a single frame.

You can use the time of day system to manage high-level control for automatically updating the appearance of the sky. For more information, see Adding Sky Effects and Time of Day Nodes.