Page History
This page describes the use of V-Ray's physically accurate sun and sky system. Anchor
Overview
...
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
Section | ||||||||||||||||||||
|
UI Paths
|
...
|
...
|
|
...
Example: Direction of the VRaySun Light
...
This example demonstrates the effect of the sun direction. The Sun is positioned such as its rays hit the ground at certain degrees against the ground. Note how in addition to the scene brightness, the sun position also changes the appearance of the sky and the sun light color.
Section | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
|
Sun Parameters
...
Section |
---|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
Anchor | |||
---|---|---|---|
|
|
...
Example: The
...
Size Multiplier Parameter
This example demonstrates the effect of the Size multiplier parameter. Notice how changes in this parameter affect both the visible sun size and the shadow softness (however overall illumination strength remains the same).
Enabled: on, Turbidity: 3.0, Intensity multiplier: 0.01
Section | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Sky Parameters
...
Section | |||||
---|---|---|---|---|---|
|
...
Example: The Size Multiplier Parameter
This example demonstrates the effect of the Size multiplier parameter. Notice how changes in this parameter affect both the visible sun size and the shadow softness (however overall illumination strength remains the same).
Enabled: on, Turbidity: 3.0, Shadow subdivision: 8, Intensity multiplier: 0.01
Section | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
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.
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.
...
|
Anchor turbidityParameter turbidityParameter
...
Example: The Turbidity Parameter
This example demonstrates the effect of the Turbidity parameter. Generally, this controls the amount of dust particles in the air. Notice how larger values cause the sun and the sky to become yellowish while smaller values make the sky clear.
Enabled: on, Intensity multiplier: 0.01, Size multiplier: 1.0
Section | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
...
Example: Ozone Value
The Ozone parameter affects only the color of the light emitted by the sun. Higher values cause the color mapping mode to change. This example demonstrates the looks achieved with several different color mapping modes. See also the section on Color mapping for more details.
Enabled: on, Turbidity: 2.0, Intensity multiplier: 1.0, Size multiplier: 1.0.
Section | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
|
Options
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Sampling
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
...
Example: Shadow Bias
Enabled: on, Turbidity: 2.0, Intensity multiplier: 1.0, Size multiplier: 1.0. Notice how the shadows move towards the center of the render, that is towards the shadow casting object when the value is higher.
Section | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Example: VRay Sun and Sky with Different Color Mapping Types
In addition to the parameters of the sun and sky, their appearance also depends on the selected color mapping mode. This example demonstrates the looks achieved with several different color mapping modes. See also the section on Color mapping for more details.
Enabled: on, Height Z: 800, Turbidity: 3.0, Intensity multiplier: 0.01, Size multiplier: 1.0
Section | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Clouds
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
...
Example: How to add and animate clouds, without an HDRI
Align | ||
---|---|---|
| ||
|
Anchor | ||||
---|---|---|---|---|
|
...
Section | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
...
Example: Clouds Shadows
This examples shows the effect of the Ground Shadows option.
Section | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
...
Section | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Example: The Turbidity Parameter
This example demonstrates the effect of the Turbidity parameter. Generally, this controls the amount of dust particles in the air. Notice how larger values cause the sun and the sky to become yellowish while smaller values make the sky clear.
Enabled: on, Intensity multiplier: 0.01, Shadow subdivision: 8, Size multiplier: 1.0
Section | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Example: Ozone Value
The Ozone parameter affects only the color of the light emitted by the sun. Higher values cause the color mapping mode to change. This example demonstrates the looks achieved with several different color mapping modes. See also the section on Color mapping for more details.
Enabled: on, Turbidity: 2.0, Shadow subdivision: 3, Intensity multiplier: 1.0, Size multiplier: 1.0.
Section | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
...
Section | |||||
---|---|---|---|---|---|
|
Options
Exclude – Excludes objects from illumination/shadow casting for the sun light.
invisible – When 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.
cast atmospheric shadows – When enabled, the atmospheric effects in the scene cast shadows.
Sampling
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.
shadow subdivs – Controls the number of samples for the area shadow of the sun. More subdivs produce area shadows with better quality but render slower. For more information, see The Shadow Subdivs Parameter example below. Note that this parameter is available for changing only when Use local subdivs is enabled in the Global DMC Settings. This parameter is not available when the renderer is set to GPU.
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's effect is visible when photons are used in the GI solutions or caustics.
...
|
...
Anchor | ||||
---|---|---|---|---|
|
Section | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Anchor | ||||
---|---|---|---|---|
|
Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Example: The Shadow Subdivs Parameter
This example demonstrates the effect of the Shadow subdivs parameter. Note how lower subdivs cause the shadows to be more noisy.
Enabled: on, Height Z: 1200, Turbidity is 2.0, Intensity multiplier is 0.01, Size multiplier: 10.0
Section | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Example: Shadow Bias
Enabled: on, Turbidity: 2.0, Shadow subdivision: 3, Intensity multiplier: 1.0, Size multiplier: 1.0. Notice how the shadows move towards the center of the render, that is towards the shadow casting object when the value is higher.
Section | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Example: VRay Sun and Sky with Different Color Mapping Types
In addition to the parameters of the sun and sky, their appearance also depends on the selected color mapping mode. This example demonstrates the looks achieved with several different color mapping modes. See also the section on Color mapping for more details.
Enabled: on, Height Z: 800, Turbidity: 3.0, Shadow subdivision: 8, Intensity multiplier: 0.01, Size multiplier: 1.0
| ||||||||||||||||||||||||||||||||||||||
Section | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Anchor | ||||
---|---|---|---|---|
|
Example: Contrails Time
The frames in this animation show the Contrails time parameter with values ranging between 0 and 2.0, with a step of 0.2.
Section | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Notes
...
Fancy Bullets | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...
|
References
...
Anchor | ||||
---|---|---|---|---|
|
Here is a list of links and references about the V-Ray Sun and Sky implementation, as well as general information about the illumination of the Sun.
...
Fancy Bullets |
---|
|
...
|
...
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...