Versions Compared

Key

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


 

This page provides information about the Sun in V-Ray for Cinema 4D. 


Overview

...

Section
Column
width45%

The V-Ray Sun and V-Ray Sky are special features which are provided by the V-Ray renderer. 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 so that they change their appearance depending on the direction of the V-Ray Sun.

UI Text Box
typetip

When using the V-Ray Sun in combination with the V-Ray Sky, it is recommended to use directly the V-Ray Sun and Sky system, which is automatically set when created.  


UI Path: ||V-Ray|| > Lights > V-Ray Sun 


Section
Column
width50%

c4d26_61010_sunLight_UI.pngImage Modified

Column
width50%

 


 
Column
width5%


Column
width50%

feature-thumb-Procedural clouds-690x380.jpgImage Modified

General

...

Section
Column
width57%

Sun

Enabled – Turns the sun light on and off.

Intensity – Specifies the brightness of the sun. Since the sun is very bright by default, you can use this parameter to reduce its effect. This option is not available with V-Ray GPU.

Size – 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.

Filter Color – Shifts the hue of the V-Ray Sun and Sky system towards the specified color. This option is not available with V-Ray GPU.

Color Mode – This mode affects the way the Filter Color hues the sun and sky light.

Filter – Shifts the V-Ray Sun and Sky hue towards the color specified by the Filter Color.
Direct – Takes the Filter Color for the V-Ray Sun light. In this case, the light intensity is controlled by the Intensity multiplier and it does not depend on the Sun's position in the sky.
Override – Takes the Filter Color for the V-Ray Sun light, however the intensity is controlled by the position of the V-Ray Sun in the sky. 


Sky

Sky Model – Determines the procedural model used to generate the V-Ray Sky texture:

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 a clear sky.
CIE Overcast – The VRaySky procedural texture is generated based on the CIE method for a cloudy sky.
Hosek et al. – The VRaySky procedural texture is generated based on the Hosek et al. method. 
PRG Clear Sky – The VRaySky procedural texture is generated based on the Improved method which has enhanced sunrise and sunset sky.

Ground Albedo – Sets the color of the V-Ray Sun and Sky system's ground. This option is not available with V-Ray GPU.

Horiz Illum – Specifies the intensity (in lx) of the illumination on horizontal surfaces coming from the sky. This parameter is enabled when one of the CIE Sky Models are selected. This option is not available with V-Ray GPU.

Blend Angle – Specifies the angle in degrees where blending occurs between the horizon line and sky. Values close to 0.0 produce a sharper horizon line, while larger values produce a softer horizon line. This option is not available with V-Ray GPU.

Horizon Offset – Allows the user to manually lower the horizon line.

Turbidity – Determines the amount of dust in the air, which in turn affects the color of the sun and sky. Smaller values produce a clear, blue sky and sun similar to what is seen in rural areas, while larger values make the sun and sky more yellow and orange as seen in a big city. This option is not available with V-Ray GPU.

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, while larger values make it bluer. This option is not available with V-Ray GPU.

Column
width5%

 


Column
width38%

c4dr26_60010_vraySun_general_options.pngImage Modified

Clouds

...

Section
Column
width57%

On – Enables the cloud system.

Ground Shadows – When enabled, casts shadows from the clouds. See the Clouds Ground Shadows example for more information.

Density – Controls the density of the cumulus and stratus types of clouds. A value of 1 fills up the sky with clouds. See the Clouds Density example for more information.

Variety – Controls the variety of the cumulus and stratus types of clouds. See the Clouds Variety example for more information.

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. See the Clouds Cirrus Amount example for more information.

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

Seed – Generates a random value, based on the given number, to change the pattern of the clouds and the Contrails.

Height (m) – Determines the Clouds position in height. See the Clouds Height example for more information.

Longitude Offset (m) – Moves the cloud system by the X axis. See the Clouds Offset example for more information.

Latitude Offset (m) – Moves the cloud system by the Y axis. See the Clouds Offset example for more information.

Longitude Phase (%) – Controls the phase by the 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.

Latitude Phase (%) – Controls the phase by the 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.

Enable Contrails – When enabled, plane contrails are simulates in the sky.

Number of Contrails – Determines the number of contrails generated. See the Number of Contrails example for more information.

Contrails Strength – Determines the opacity of the contrails. Lower values create less opaque trails, which look older. See the Contrails Strength example for more information.

Contrails Distortion – Determines the amount of distortion in the contrails. See the Contrails Distortion example for more details.

Contrails Offset Longitude/Latitude (m) – Offsets the contrails by a given value, according to the X or Y axis. See the Contrails Offset example for more information.

Contrails Time – Determines how long along their way the planes are. See the Contrails Time animation for more details.

 
Column
width5%


Column
width38%

c4dR26_60010_sunLight_Clouds.pngImage Modified

 

...


...


Anchor
DensityVariety
DensityVariety

Section
Column
width50%

Example: Clouds Density

 


The Clouds Density parameter controls the amount of clouds in the sky. The higher the value, the more clouds appear in the render. 

Image slider
startIndex1
width60%
Panel
borderStylenone

Density_0.jpgImage Modified

Clouds Density = 0

Panel
borderStylenone

Density_04.jpgImage Modified

Clouds Density = 0.4

Panel
borderStylenone

Density_08.jpgImage Modified

Clouds Density = 0.8

Move the slider to see the example renders.

Column
width50%

Example: Clouds Variety

 


This example shows the effect of the Clouds Variety parameter on the clouds' distribution and look.

Image slider
startIndex1
width60%
Panel
borderStylenone

Variety_0.jpgImage Modified

Clouds Variety = 0

Panel
borderStylenone

Variety_05.jpgImage Modified

Clouds Variety = 0.5

Panel
borderStylenone

Variety_1.jpgImage Modified

Clouds Variety = 1

Move the slider to see the example renders.

...


...

Anchor
Shadows
Shadows

Example: Clouds Ground Shadows

 


The Clouds Ground Shadows option controls whether or not the clouds cast shadows in the scene.

Section
 
Column
width25%

Column
width50%
Before after
afterLabelon
beforeLabeloff
Panel
borderStylenone

Ground_Shadows_Off.jpgImage Modified

Panel
borderStylenone

Ground_Shadows_On.jpgImage Modified

Column
width50%

 

...



...

Anchor
CirrusHeight
CirrusHeight

Section
Column
width50%

Example: Clouds Cirrus Amount

 


This example shows how increasing the Clouds Cirrus Amount increases the appearance of the cirrus clouds in the render.

Image slider
Panel
borderStylenone

Cirrus_Amount_0.jpgImage Modified

Clouds Cirrus Amount = 0

Panel
borderStylenone

Cirrus_Amount_05.jpgImage Modified

Clouds Cirrus amount = 0.5

Panel
borderStylenone

Cirrus_Amount_1.jpgImage Modified

Clouds Cirrus amount = 1

Move the slider to see the example renders.

Column
width50%

Example: Clouds Height

 


This example shows how the clouds change their position in the sky with increasing the Clouds Height value. 

Image slider
Panel
borderStylenone

Height_500.jpgImage Modified

Clouds Height = 500

Panel
borderStylenone

Height_1000.jpgImage Modified

Clouds Height = 1000

Panel
borderStylenone

Height_1500.jpgImage Modified

Clouds Height = 1500

Move the slider to see the example renders.

 


...

Anchor
ThicknessOffset
ThicknessOffset

Section
Column
width50%

Example: Clouds Thickness

 


The Clouds Thickness parameter specifies how full the clouds are. Lower values make them thinner and sheerer, while higher values make them look heavy. 

Image slider
Panel
borderStylenone

Thickness_200.jpgImage Modified

Clouds Thickness = 200

Panel
borderStylenone

Thickness_500.jpgImage Modified

Clouds Thickness = 500

Panel
borderStylenone

Thickness_800.jpgImage Modified

Clouds Thickness = 800

Move the slider to see the example renders.

Column
width50%

Example: Clouds Offset

 


The following example demonstrates how changing the Clouds Longitude Offset and the Clouds Latitude Offset parameters affects the appearance of the clouds.

Image slider
Panel
borderStylenone

Offset_X0_Y0.jpgImage Modified

No offset

Panel
borderStylenone

Offset_Xminus250_Y0.jpgImage Modified

Clouds Longitude Offset = -250, Clouds Latitude Offset = 0

Panel
borderStylenone

Offset_Xminus250_Y500.jpgImage Modified

Clouds Longitude Offset = -250, Clouds Latitude Offset = 500

Move the slider to see the example renders.

...


...

Anchor
contNumber
contNumber

Section
Column
width45%

Example: Number of Contrails

 


Note that the contrails are spread randomly across the sky. In most cases, the camera does not capture all of the contrails.

Image slider
minLabel5
startIndex1
maxLabel40
Panel
borderStylenone

02_Number of contrails_5.jpgImage Modified

Number of Contrails = 5

Panel
borderStylenone

03_Number of contrails_20.jpgImage Modified

Number of Contrails = 20

Panel
borderStylenone

04_Number of contrails_40.jpgImage Modified

Number of Contrails = 40

Move the slider to see the example renders.

 
Column
width10%


Column
width45%

Example: Contrails Strength

 


This example shows how the Strength parameter makes the contrails more visible and prominent in the sky.

Image slider
minLabel0.1
startIndex1
maxLabel1.0
Panel
borderStylenone

01_Contrails strenght_01.jpgImage Modified

Contrails Strength = 0.1

Panel
borderStylenone

03_Contrails strenght_05.jpgImage Modified

Contrails Strength = 0.5

Panel
borderStylenone

04_Contrails strenght_1.jpgImage Modified

Contrails strength = 1.0

Move the slider to see the example renders.

 


...

Anchor
contDist
contDist
 


Section
Column
width45%

Example: Contrails Distortion

 


The Contrails Distortion parameter is used to achieve some variety in the trace line. Move the slider to see the example renders.

Image slider
minLabel0.1
startIndex1
maxLabel1.0
Panel
borderStylenone

01_Contrails distortion_01.jpgImage Modified

Contrails Distortion = 0.1

Panel
borderStylenone

03_Contrails distortion_05.jpgImage Modified

Contrails Distortion = 0.5

Panel
borderStylenone

04_Contrails distortion_1.jpgImage Modified

Contrails Distortion = 1.0

Column
width10%

 


Column
width45%

Example: Contrails Offset

 


The Contrails Offset option introduces an offset along the X or Y direction in the sky. Move the slider to see the example renders.

Image slider
startIndex1
Panel
borderStylenone

01_Contrails offset_X0_Y0.jpgImage Modified

Contrails Offset Longitude= 0, Latitude = 0

Panel
borderStylenone

02_Contrails offset_X5000_Y0.jpgImage Modified

Contrails Offset Longitude = 5000, Latitude = 0

Panel
borderStylenone

03_Contrails offset_X0_Y5000.jpgImage Modified

Contrails Offset Longitude = 0, Latitude = 5000

 


...

Anchor
contTime
contTime

 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
 
Column
width25%


Column
width50%

VRaySun_ContrailsTime2.gifImage Modified

Column
width25%

 

 

...




Options

...

Section
Column
width57%

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 Sun affects the diffuse properties of the materials.

Diffuse Contribution – Controls the Sun's contribution to the diffuse illumination.

Affect Specular – Determines whether the Sun affects the specular of the materials. The multiplier controls the suns contribution to specular reflections.

Specular Contribution – Controls the Sun's contribution to the specular reflection.

Affect Atmospherics – When enabled, the light influences the atmospheric effects in the scene. This option is not available with V-Ray GPU.

Atmospherics Contribution – Determines the amount of influence the light has on the atmospheric effects.

LPE Label – Allows a label to be assigned, which can be used to reference the light in a Light Path Expression. This is especially useful when working with the Light Select render element to evaluate custom light contribution in the scene.

Column
width5%

 


Column
width38%

Image Removedc4d2024_61030_SunLight_options.pngImage Added

Shadows

...

Section
Column
width57%

Shadows – When enabled, the objects in the scene cast shadows.

Shadow Color/Texture – Specifies a color or a texture map for the shadows. This option is not available with V-Ray GPU.

Shadow Bias – Moves the shadow toward or away from the shadow-casting object. Higher values move the shadow toward the object, 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.

Atmos Shadows – When enabled, the atmospheric effects in the scene cast shadows. This option is not available with V-Ray GPU.

Column
width5%
 

Column
width38%

CinemaR25_52010_VRaySun_Shadows.pngImage Modified

Photon Emission

...

Section
Column
width57%

Photon Radius – Determines the radius of the area, in which photons are shot. This area is represented by the cylinder around the Sun's ray vector. This parameter has effect when photons are used in caustics.

Caustic Subdivs – Used by V-Ray when calculating Caustics. Lower values mean more noisy results but render faster. Higher values produce smoother results but take more time. This option is not available with V-Ray GPU.

Caustic Mult – Used by V-Ray when calculating Caustics. This multiplier controls the brightness of the caustics. This option is not available with V-Ray GPU.

Column
width5%

 


Column
width38%

CinemaR25_52010_VRaySun_PhotonEmission.pngImage Modified

Aerial Perspective

...

Section
Column
width57%

Enabled – Turns the atmospheric effect on or off.

Visibility Range (m) – Specifies the distance , at which the fog has absorbed 90% of the light coming from objects behind it. Lower values make the fog appear more dense, while larger values reduce the effect of the aerial perspective. This option is calculated in meters.

Atmospheric Layer Height (m) – Controls the height of the atmosphere layer. Lower values can be used for artistic effects. The value is in meters.

Inscattered Light Multiplier – Controls the amount of sunlight scattered from the atmospheric effect. The default value of 1.0 is physically accurate; lower or higher values could be used for artistic purposes.

Affect Environment – When disabled, the atmospheric effect is applied only to camera rays that hit actual objects , but not to rays that hit the sky. This is because the VRaySky texture already takes into account the amount of scattered sunlight. However, it is possible to enable this option for artistic effects, especially with low visibility ranges.

Affect Background – Specifies whether the effect is applied to camera rays that hit the background (if a background other than VRaySky is used). This option is enabled by default, but some interesting effects are possible when disabled.

Affect Alpha – Specifies whether the effect is applied to camera rays that hit the alpha channel. This option is enabled by default, but some interesting effects are possible when disabled.

Filter Color – Determines the color of the unscattered light.

Primary Visibility – Specifies whether the effect is seen by the camera rays. When disabled, the Aerial Perspective effect is seen only by secondary rays (e.g., refractions, reflections, etc.).

Column
width5%
 

Column
width38%

c4d26_60010_vraySun_aerialPersp_params.jpgImage Modified


Project

...

Section
Column
width57%

Project is used to create a list of objects that can be excluded (or included) from the light's effects such as illumination or shadow casting.

Mode – Specifies whether the objects in the list are considered included or excluded from the light's effects.

Objects – Creates a list of objects to be excluded or included.

Column
width5%
 

Column
width38%

c4dr26_60010_rectLight_project.pngImage Modified


Cinema 4D Sun Tag

...

Section
Column
width57%
V-Ray Sun works with Cinema 4D's Sun tag. You can use date and time to set the position of the sun.
 
Column
width5%

Column
width38%

CinemaR25_52010_Sun_tag.gifImage Modified