Menu
Lumberyard
User Guide (Version 1.13)

Adding Sun Rays

You can create a sun rays effect, which simulates the shafts of light that the sun produces under certain atmospheric conditions.

To add sun rays

  1. In Lumberyard Editor, choose Tools, Other, Time Of Day.

  2. In the Time of Day Tasks pane, under Tasks, choose Toggle Advanced Properties to view all parameters.

  3. In the Parameters pane, under Sun Rays Effect, adjust the following parameters as needed:

    • Sun shafts visibility – Sets the visibility of the sun shafts. Higher values accentuate the shadow streaks that are caused by the sun light penetrating objects.

    • Sun rays visibility – Sets the visibility of the sun rays. Higher values create brighter rays around the sun.

    • Sun rays attenuation – Sets the length of the sun rays. Higher values create shorter rays around the sun.

    • Sun rays sun color influence – Sets the degree to which the color of the sun contributes to the color of the sun rays. Set this value to 1 to use the color of the sun for the sun rays. Set this value to 0 to use a custom color. Set this value to any number between 0 and 1 to use a color between the sun color and custom color.

    • Sun rays custom color – Specifies a custom color for the sun rays. To use this parameter, you must set the Sun rays sun color influence parameter to a value greater than 0.