© Bertrand Benoit

Table of Contents

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

This page provides details on using the V-Ray Sun and Sky Blueprint.

 

Page Contents

 

Overview


A Sun light is a spherical light source placed at a specific location which simulates the sun in the sky. Developed to work together, the VRaySun and Sky reproduce the real-life Sun and Sky environment of the Earth. Both are coded so that they change their appearance depending on the Elevation and Azimuth of the Sun disk.
 

 


 

The VRaySunAndSky Blueprint Actor is accessible through the Modes panel by searching for VRaySunAndSky or from VRayForUnreal > Content > BP > Actors > VRaySunAndSky in the Content Browser Tree. Select the Blueprint and drag and drop it in the level.

 

 

 

UI Path: ||Modes Tab|| > V-Ray Assets > VRaySunAndSky

UI Path: ||Content Browser|| > VRayForUnreal > Content > BP > Actors > VRaySunAndSky

In order to see the VRayForUnreal folder you first have to enable Show Engine Content and Show Plugin Content in 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.


VRaySunAndSky Settings


 

General

  • Auto Update – Enables the automatic update of the sky based on the sun position.
  • Elevation – Specifies the vertical angle of the sun disk in degrees. Value ranges are from 0 to 90.

  • Azimuth – Specifies the horizontal angle of the sun disk in degrees. Value ranges are from 0 to 360.

  • On – Turns the sun on and off.

  • 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.

 

VRaySunAndSky will always override Background color in VRaySettingsEnvironment.