The properties of the Sun Light are normally adjusted within an Art Style. If you want to change these properties dynamically, during gameplay, add a Sun Controller node into the scene. This node will override the settings of the Art Style
The Sun Light in HypeHype is a directional light that provides consistent light throughout the game. Change the direction of the light by rotating the Sun Controller or turn the Sun Controller node with a Rotator node.
| Execute | Executes the node |
| ↳ On Start | Executes the node as soon as the game starts |
| ↳ Always | Executes the node continuously, at every frame |
| Enabled | Determines if the node can be executed |
| Set Rotation | When toggled on, the sun light direction is defined with the Sun Controller node instead of the Art Style |
| Set Color | When toggled on, the sun light color is defined with the Sun Controller node instead of the Art Style |
| Set Intensity | When toggled on, the sun light intensity is defined with the Sun Controller node instead of the Art Style |
| Color | If Set Color is toggled on, this property is visible. Set the Sun Light color manually or with an input link from an other logic node. |
| Intensity | If Set Intensity is toggled on, this property is visible. Set the Sun Light intensity or with an input link from an other logic node. |
Here's a link to a demo that shows how to use the Sun Light node: