© 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 20 Next »

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

Table of 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 V-Ray Sun and V-Ray Sky reproduce the real-life Sun and Sky environment of the Earth. Both are coded in a way that allows them to change their appearance depending on the Elevation and Azimuth of the Sun disk.
 

 

 

UI Path


||Modes Tab|| > V-Ray Assets > VRaySunAndSky

||Content Browser|| > VRayForUnreal > Content > BP > Actors > VRaySunAndSky

 

 

 

VRaySunAndSky Blueprint


 

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.

 

 

 

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.

 


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.