Skip to content

Sun

The Sun settings in Foxel allow you to control the primary light source in your scene. As the default light and the only directional light capable of casting shadows, the Sun plays a crucial role in the overall illumination and atmosphere of your renders. Below are the key properties you can adjust:

Sun Properties

  • Azimuth
    This property determines the horizontal angle of the Sun in the sky. Adjusting the azimuth changes the direction from which the sunlight is coming, affecting the shadows and highlights in your scene.

  • Elevation
    The elevation controls the vertical angle of the Sun. A higher elevation simulates midday sunlight, while a lower elevation can create longer shadows, mimicking early morning or late afternoon light.

  • Color
    You can customize the color of the Sun to achieve different lighting effects. Warmer colors can create a sunset effect, while cooler colors can simulate a midday sun.

  • Disk Visible
    This option allows you to display the Sun as a visible disk in your scene. Enabling this feature can enhance the realism of your renders, especially when combined with atmospheric effects.

  • Disk Size
    Adjust the size of the Sun's disk when the "Show Disk" option is enabled. A larger disk can create a more pronounced visual effect in your scene.

  • Intensity
    The intensity setting controls the brightness of the Sun. Increasing the intensity will result in brighter lighting and more pronounced shadows, while decreasing it will soften the overall illumination.

  • Cast Shadows
    This property enables or disables shadow casting from the Sun. When enabled, the Sun will cast realistic shadows based on the position and intensity settings, adding depth and dimension to your scene.

Additional Effects

The Sun also influences various render effects, including lens flare and atmospheric scattering. These effects can enhance the visual quality of your renders, creating a more immersive experience.


By adjusting the Sun settings, you can significantly impact the mood and atmosphere of your scene, making it an essential tool for achieving the desired visual outcome in your projects.