This page provides details on using the V-Ray Sun and Sky Blueprint.
The VRaySunAndSky actor is accessible through the Modes > V-Ray Assets > VRaySunAndSky or from VRayForUnreal > Content > BP > Actors > VRaySunAndSky in the Content Browser Tree. Select the Blueprint and drag and drop it in the level.
||Modes Tab|| > V-Ray Assets > VRaySunAndSky
||Content Browser|| > VRayForUnreal > Content > BP > Actors > VRaySunAndSky
For the VRayForUnreal folder to be visible, you first need to enable Show Engine Content and Show Plugin Content in the View Options of the Content Browser.
When creating VRaySunAndSky in Unreal make sure its location is set to 0,0,0; rotation is set to 0,0,0 and scale is set to 1,1,1. Also make sure you have only one VRaySunAndSky in the level.
On – Toggles the sun on and off.
NEW - Sky – Toggles the Hosek sky.
Azimuth – Specifies the horizontal angle of the sun disk in degrees. Value ranges are from -180 to 180.
Elevation – Specifies the vertical angle of the sun disk in degrees. Value ranges are from 0 to 90.
Turbidity – Determines the amount of dust in the air and affects the color of the sun and sky. Smaller values produce a clear and blue sky and sun, while larger values make them yellow and orange.
Ozone – Affects the color of the sun light. Available in the range between 0.0 and 1.0. Smaller values make the sunlight more yellow, larger values make it blue.
Intensity Multiplier – Determines the intensity value when overwriting the sun settings.
Size Multiplier – Controls the visible size of the sun. This affects the appearance of the sun disc as seen by the camera and reflections, as well as the blurriness of the sun shadows.
Set for Light Bake – Enable for V-Ray Bake. This sets the skylight and directional light mobility to static. When unchecked the skylight and the Directional light to movable.
NEW - Affect Diffuse – Determines whether the light will affect the diffuse portion of the materials. The value controls the light's contribution to the diffuse portion of the materials (No effect in viewport).
NEW - Affect Specular – Determines whether the light will affect the specular portion of the materials. The value controls the light's contribution to specular reflections (No effect in viewport).
Auto Update – Enables the automatic update of the sky based on the sun position.
VRaySunAndSky will always override Background color in VRaySettingsEnvironment.