Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width60%

The VRaySun and VRaySky are special features which are provided by the V-Ray renderer. Developed to work together, the VRaySun and VRaySky reproduce the real-life Sun and Sky environment of the Earth. Both are coded so that they change their appearance depending on the direction of the VRaySun. Refer to the VRaySky page for more details about the texture.

The V-Ray Sun and Sky are based largely on the model presented in [ 1 ]. For a more complete list of references, please see the References and links section.

 

UI Expand
titleUI Path: ||Create menu|| > Lights > V-Ray...
Section
Column
width50%

||Create menu|| > Lights > V-Ray > V-Ray Sun > 
click and drag in a viewport

Image Added

 Image Removed

||V-Ray Toolbar|| > V-Ray Sun button > Click and drag in a viewport

Image RemovedImage Added

Column
width1%

 

Column
width49%

||Command panel|| > Create tab > Lights > Choose V-Ray from dropdown > VRaySun > click and drag in a viewport

Column
width5%

 

Column
width35%


Image courtesy of Tamas Medve

...

Section
Column
width60%

You can also specify the VRaySun as the sun type inside a 3ds Max Daylight system.

Enabled – Turns on and off the sun light.

Intensity multiplier1 – An intensity multiplier for the VRaySun. Since the sun is very bright by default, you can use this parameter to reduce its effect. 

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. For more information, see The Size Multiplier Parameter example below.

Filter color – Changes the color of the sun and depends on the Color mode parameter.

Color mode – Affects the way the color in the Filter color parameter affects the color of the sun.

filter – Shifts the hue of the V-Ray Sun and Sky system towards the color specified in the Filter color field. 
direct
 – Sets the color of the V-Ray Sun to match the color in the Filter Color parameter. In this case the intensity of the light does not depend on the V-Ray Sun's position in the sky and is controlled through the intensity multiplier. 
override
 – Sets the color of the V-Ray Sun to match the color in the Filter Color parameter but the intensity of the light still depends on the V-Ray Sun's position in the sky.

Column
width5%

 

Column
width35%

Image Modified

 

 

Anchor
sizeMultiplierParameter
sizeMultiplierParameter

...

Section
Column
width60%

Sky model – Specifies the procedural model that is used to generate the VRaySky texture.

Hosek et al. – The VRaySky procedural texture is generated based on the Hosek et al. method.
Preetham et al. – The VRaySky procedural texture is generated based on the Preetham et al. method.
CIE Clear – The VRaySky procedural texture is generated based on the CIE method for clear sky.
CIE Overcast – The VRaySky procedural texture is generated based on the CIE method for cloudy sky.
PRG Clear Sky - The VRaySky procedural texture is generated based on the PRG Clear Sky method which has enhanced sunrise and sunset sky.

Ground albedo – Changes the color of the ground.

Indirect horiz. illum. – Specifies the intensity (in lx) of the illumination on horizontal surfaces coming from the sky.

Blend angle – Controls the size of the gradient formed by VRaySky between the horizon and the actual sky.

Horizon offset – Offsets the horizon from the default position (the absolute horizon).

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 as you get in the country, while larger values make them yellow and orange as, for example, in a big city. For more information, see The Turbidity Parameter example below.

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. For more information, see The Ozone Value example below.  

Column
width5%

 

Column
width35%

Image Modified

 

Anchor
turbidityParameter
turbidityParameter
 

...

Section
bordertrue
Column
width20%

 

Column
width60%
Image slider
Panel
borderStylenone

Ozone: 0.0

Panel
borderStylenone

Ozone: 0.5

Panel
borderStylenone

Ozone: 1.0

Column
width20%

 

 

Options

...

Section
Column
width60%

Exclude – Excludes objects from illumination/shadow casting for the sun light.

Invisible – When enabled enabled, makes the sun invisible, both to the camera and to reflections. This is useful to prevent bright speckles on glossy surfaces where a ray with low probability hits the extremely bright sun disk.

Affect diffuse – Determines whether the VRaySun is affecting the diffuse properties of the materials.

Affect specular – Determines whether the VRaySun is affecting the specular of the materials. The multiplier controls the suns contribution to specular reflections.

Affect atmospherics2 – Specifies whether the light influences the atmospheric effects in the scene. The value determines the amount of involvement.

Cast atmospheric shadows – When enabled, the atmospheric effects in the scene cast shadows.

Column
width5%

 

Column
width35%

Image Modified

 

Sampling

...

Section
Column
width60%

Shadow bias – Moves the shadow toward or away from the shadow-casting object (or objects). Higher values move the shadow toward the object(s), while lower values move it away. If this value is too extreme, shadows can "leak" through places they shouldn't or "detach" from an object. Other effects from extreme values include moire patterns, out-of-place dark areas on surfaces, and shadows not appearing at all in the rendering. For more information, see The Shadow Bias example below.  

Photon emit radius – Determines the radius of the area where photons would be shot. This area is represented by the green cylinder around the Sun's ray vector. This parameter has effect when photons are used in caustics. See the Photon Emission Radius example for more information.

Column
width5%

 

Column
width35%

Image Modified

 

 

Anchor
shadowBias
shadowBias

...

Section
Column
width20%

 

Column
width60%
Image slider
Panel
borderStylenone

Color mapping: Exponential

Panel
borderStylenone

Color mapping: HSV exponential

Panel
borderStylenone

Color mapping: Intensity exponential

Column
width20%

 

 

Clouds

...

Section
Column
width60%
UI Text Box
typewarning

This feature is available in V-Ray 6 for 3ds Max, Beta only.

Clouds on – Enables the cloud system.

Ground shadows – When enabled, casts shadows from the clouds.

Density – Controls the density of the cumulus and stratus types of clouds. A value of 1 fills up the sky with clouds.

Variety – Controls the variety of the cumulus and stratus types of clouds.

Cirrus amount – The maximum value of 1 fills the sky with cirrus clouds. Decreasing the value, lowers the presence of such clouds. When set to 0, the cirrus clouds are completely gone.

Offset X (m) – Moves the cloud system by X axis.

Offset Y (m) – Moves the cloud system by Y axis.

Height (m) – Clouds position in height.

Thickness (m) – Lower values make the cumulus and stratus types of clouds thin and sheer/lucent, while higher values make them full and heavy.

Phase X (%) – Controls the phase by X axis, can be used to fine-tweak the cumulus and stratus clouds appearance. The appearance of the clouds loops at 0, 100, 200, etc. This parameter can be animated to resemble natural clouds appearance.

Phase Y (%) – Controls the phase by Y axis, can be used to fine-tweak the cumulus and stratus clouds appearance. The appearance of the clouds loops at 0, 100, 200, etc. This parameter can be animated to resemble natural clouds appearance.

Column
width5%

Column
width35%

Image Added

 

...

 

Example: Clouds Density

 

This examples shows the effect of Density parameter on the clouds. Cirrus amount is set to 0.25, Height is 1400, and Thickness is 470.

Section
Column
width20%

 

Column
width60%
Image slider
startIndex2
width60%
Panel
borderStylenone

Image Added

Density = 0

Panel
borderStylenone

Image Added

Density = 0.3

Panel
borderStylenone

Image Added

Density = 0.5

Panel
borderStylenone

Image Added

Density = 0.8

Panel
borderStylenone

Image Added

Density = 1

Move the slider to see the example renders.

Column
width20%

 

Notes

...

Fancy Bullets
typecircle
Anchor
Notes
Notes
  1. By default, the VRaySun and VRaySky are very bright. In the real world, the average solar irradiance is about 1000 W/m^2 (see the references below). Since the image output in V-Ray is in W/m^2/sr, you will typically find that the average RGB values produces by the sun and the sky are about 200.0-300.0 units. This is quite correct from a physical point of view, but is not enough for a nice image. You can either use Color mapping to bring these values to a smaller range (which is the preferred way) or you can use the Sun intensity multiplier to make the sun and sky less bright. Using the VRayPhysicalCamera with suitable values also produces a correct result without changing the sun and sky parameters.
  2. The Affect atmospherics option has no effect on VRayAerialPerspective as this atmospheric effect only simulates volumetric appearance.

...