Use the V-Ray Sky Texture to control the sky, sunlight, night sky and clouds.
Overview
V-Ray Sky works with V-Ray Sun to reproduce the Earth's sun and sky. Their appearance changes with the direction of V-Ray Sun.
When you connect the V-Ray Sun and Sky systems, they share parameters. Changes in the Sun section of the Sky Texture directly affect V-Ray Sun. See the SunLight page.


UI paths
||V-Ray Asset Editor|| > Textures (right-click) > Sky
||V-Ray Asset Editor|| > Create Asset (left-click) > Textures > Sky
Parameters
Sun selects the V-Ray Sun node used to create the Sky texture. The Sun orientation (position) affects the Sky gradient. The following parameters affect this Sun light.

Custom orientation
Enable turns on custom orientation.
Horizontal Angle controls the custom sun azimuth angle (horizontal rotation).
Vertical Angle controls the custom sun altitude angle (vertical rotation).

Colour and intensity
Color shifts the SunLight system's hue towards the colour in the field.
Color Mode controls how the Filter colour parameter affects the sun's colour.
Filter shifts the V-Ray sun's hue according to the Filter Color parameter.
Direct sets the V-Ray sun's colour to the Filter Color parameter. Light intensity no longer depends on V-Ray Sun's position in the sky. Intensity Multiplier controls it instead.
Override sets the V-Ray sun's colour to the Filter Color parameter. Light intensity still depends on V-Ray Sun's position in the sky.
Intensity Multiplier controls the sun's brightness. Use it to reduce the default brightness. See Notes and the Intensity Multiplier example.
Size Multiplier controls the sun's visible size in the camera and reflections. It also controls the softness of the sun's shadows. See the Size Multiplier example.

Example: Intensity Multiplier
This example uses Turbidity: 3.0 and Size Multiplier: 1.0.

Height Z
= 0,
Intensity Multiplier
= 0.01

Height Z
= 0,
Intensity Multiplier
= 0.03

Height Z
= 0,
Intensity Multiplier
= 0.05

Height Z
= 500,
Intensity Multiplier
= 0.01

Height Z
= 500,
Intensity Multiplier
= 0.03

Height Z
= 500,
Intensity Multiplier
= 0.05
Example: Size Multiplier
This example uses Turbidity: 3.0 and Intensity multiplier: 0.01. Size multiplier changes the sun's visible size and shadow softness. The overall illumination strength stays the same.

Size multiplier
= 4.0

Size multiplier
= 10.0

Size multiplier
= 40.0
Sky
Sky Model selects the procedural model used to generate the V-Ray Sky texture.
Preetham et al. generates the V-Ray Sky procedural texture using the Preetham et al. method.
CIE Clear uses the CIE method for clear sky.
CIE Overcast uses the CIE method for cloudy sky.
Hosek et al. uses the Hosek et al. method.
PRG Clear Sky uses the PRG Clear Sky method, with improved sunrise and sunset skies. See the New PRG Clear Sky Altitude, Turbidity and Nautical Twilight Effect examples below.
Horizon Illum. sets the intensity of sky illumination on horizontal surfaces, measured in lx.
Altitude controls the observer's altitude in metres. Higher values make the sky clearer and the horizon line less defined.
Turbidity controls the amount of dust in the air and affects the sun and sky colour. Lower values produce a clear, blue sky and sun, as in rural areas. Higher values make them yellow and orange, as in big cities. This parameter is inactive when Sky Model is set to PRG. See the Turbidity example below.
Ozone affects the light's colour. Values closer to 0.0 make sunlight yellow. Values closer to 1.0 make it blue. This parameter is inactive when Sky Model is set to PRG. See the Ozone Value example below.

Example: PRG Clear Sky New (Altitude)
Higher Altitude values make the sky clearer and the horizon line less defined.

Altitude
= 0

Altitude
= 1000

Altitude
= 2000

Altitude
= 10000

Altitude
= 15000
Example: PRG Clear Sky New (Turbidity)
This example shows how dust in the air affects the sun and sky colour. Lower values produce a clear image. Higher values dim the sun and sky.

Turbidity
= 2

Turbidity
= 2.6

Turbidity
= 3

Turbidity
= 4

Turbidity
= 5
Example: PRG Clear Sky New (nautical twilight effect)
This example shows how the sun's position creates a twilight effect in the sky. You may also need to adjust Exposure Value when you change the sun's position.

Exposure Value
= 10;
Sun below the horizon
= 0°

Exposure Value
= 10;
Sun below the horizon
= -2°

Exposure Value
= 10;
Sun below the horizon
= -4°
Example: Turbidity
Turbidity controls the amount of dust in the air. Higher values make the sun and sky yellowish. Lower values make the sky clear. This example uses Enabled: on, Intensity multiplier: 0.01 and Size multiplier: 1.0.

Turbidity
= 2.0

Turbidity
= 4.0

Turbidity
= 8.0
Example: Ozone Value
This example uses Turbidity: 2.0, Intensity Multiplier: 0.01 and Size Multiplier: 10.0. Ozone affects only the colour of light emitted by the sun.

Ozone
= 0.0

Ozone
= 0.5

Ozone
= 1.0
Night sky
Night Sky simulates a procedural night sky with the Moon, stars and Milky Way. It forms part of the Sun and Sky system and uses real-world positions to create night-time environments.
The host application sets the location and time used to position the stars and Moon. You can set them manually with the Custom Location and Time parameters.
Stars
Enabled shows stars and the Milky Way in the night sky.
Size Multiplier controls star size. The default value of 1 renders stars with a radius of 1 pixel. A value of 2 makes stars twice as large. A value of 0 renders stars at the smallest possible size.
Size Difference Mult controls the size difference between faint and bright stars. At 0, all stars have the same size. At 1, the brightest stars are twice as large, second magnitude stars (such as Polaris) keep their size, and the faintest stars disappear.
Direct Light Mult controls the brightness of stars seen directly in the sky or in perfect mirror reflections or refractions. See the Stars Direct Light example below.
Indirect Light Mult controls the brightness of scene illumination from stars. See the Stars Indirect Light example below.
Milky Way Mult increases the Milky Way's brightness.

Example: Stars Direct Light
This example shows how Direct Light controls star brightness.

Brightness = 0.5

Brightness = 1

Brightness = 2
Example: Stars Indirect Light
This example shows how Indirect Light controls the intensity of light from stars.

Intensity = 1

Intensity = 4

Intensity = 8
Moon
Enabled shows the Moon in the night sky.
Size Multiplier controls the Moon's visible size in the camera and reflections. It also controls the softness of the Moon's shadows.
Direct Light Mult controls the Moon's brightness when seen directly in the sky or in perfect mirror reflections or refractions. See the Moon Direct Light example below.
Indirect Light Mult controls the brightness of scene illumination from the Moon. See the Moon Indirect Light example below.
Glow Multiplier controls the brightness of the glow around the Moon. A value of 0 turns off the glow.
Filter Color sets the moonlight colour. The default white (1, 1, 1) leaves the colour unchanged.
Custom Azimuth sets the Moon's azimuth angle, measured eastward from the scene's North direction. A value of 90 aligns it with the X-axis (Solid red line), or East.
Custom Elevation controls the angle between the Moon and the ground. A value of 0 places the Moon exactly on the horizon. A value of 90 places it at the zenith.
Custom Phase sets the Moon's phase. A value of 0 is full Moon, 90 is first quarter, 180 is new Moon, and 270 is last quarter.
Custom Rotation rotates the Moon's disc in the sky. A value of 0 matches its appearance at its highest point when viewed from the Northern hemisphere. A value of 180 matches the Southern hemisphere.

Example: Moon Direct Light
This example shows how Direct Light controls the Moon's brightness.

Brightness = 0.025

Brightness = 0.05

Brightness = 0.01
Example: Moon Indirect Light
This example shows how Indirect Light controls the intensity of light from the Moon.

Intensity = 0.25

Intensity = 0.5

Intensity = 1
Custom Location and Time
Enabled lets you manually set the location and time used to position the stars and Moon. When disabled, the host application sets them.
Lat / Long sets the location's latitude and longitude used to position the stars.
Day / Month / Year sets the date used to position the stars.
Hours / Min / Sec sets the time used to position the stars.
Time Zone sets the time zone for the time used to position the stars.
Daylight Saving Time controls whether daylight saving time applies to the time used to position the stars.
North sets the North vector direction.

Ground
Albedo Color sets the ground colour in the V-Ray Sun and Sky system.
Blend Angle sets the angle in degrees over which the horizon line blends with the sky. Values close to 0.0 produce a sharper horizon line. Higher values produce a softer line.
Horizon Offset lets you manually lower the horizon line.

Clouds

Clouds () turns on clouds.
Density controls cloud density. Higher values produce more clouds. See the Cloud Density example below.
Variety controls variation in cloud positions and shapes. See the Cloud Variety example below.
Cirrus Amount controls the amount of high-altitude cirrus clouds. See the Cirrus Amount example below.
Height (m) controls cloud height. See the Cloud Height example below.
Thickness (m) controls cloud thickness. See the Cloud Thickness example below.
Offset X (m) sets the offset in the X direction, measured in metres.
Offset Y (m) sets the offset in the Y direction, measured in metres.
Phase X (%) sets the cloud phase in the X direction as a percentage (%).
Phase Y (%) sets the cloud phase in the Y direction as a percentage (%).
Ground Shadows turns on cloud shadows and is best suited to larger scenes. Use a Dome light with a Sky texture for high-quality shadows. When disabled, a single shadow covers the entire scene if a cloud blocks sunlight at the camera position. Disable Ground Shadows for smaller scenes. This may also speed up rendering. See the Ground Shadows example below.

Example: Cloud Density
Density controls the amount of clouds in the sky. Higher values produce more clouds in the render.

Density
= 0

Density
= 0.4

Density
= 0.8
Example: Clouds Variety
This example shows how Variety affects cloud distribution and appearance.

Variety
= 0

Variety
= 0.5

Variety
= 1
Example: Cirrus Amount
Higher Cirrus Amount values produce more cirrus clouds in the render.

Cirrus Amount
= 0

Cirrus Amount
= 0.5

Cirrus Amount
= 1
Example: Cloud Height
This example shows how increasing Height changes cloud positions in the sky.

Height
= 500

Height
= 1000

Height
= 1500
Example: Cloud Thickness
Thickness controls how full the clouds look. Lower values make them thinner and more transparent. Higher values make them look heavier.

Thickness
= 200

Thickness
= 500

Thickness
= 800
Example: Ground Shadows
This example shows how Ground Shadows affects the scene.

Ground Shadows
= Off

Ground Shadows
= On
Contrails simulates aircraft contrails in the sky when enabled.
Contrails Number sets the number of contrails. See the Contrails Number example below.
Contrails Strength sets contrail opacity. Lower values make trails less opaque, so they look older. See the Contrails Strength example below.
Contrails Distortion sets the amount of distortion in contrails. See the Contrails Distortion example below.
Contrails Offset X (m) offsets contrails by the specified value. See the Contrails Offset example below.
Contrails Offset Y (m) offsets contrails by the specified value.
Contrails Pace (%) controls how fast aircraft contrails move through the sky. A value of 100% represents an approximate aircraft speed of 800km/h. A value of 0% makes contrails static. Higher values make contrails appear faster and remain in the sky for less time. See the Contrails Time example below.

Example: Number of contrails
Contrails are spread randomly across the sky. The camera usually does not capture all of them.

Contrails Number
= 5

Contrails Number
= 20

Contrails Number
= 40
Example: Contrails Strength
This example shows how the strength parameter makes contrails more visible in the sky.

Contrails Strength
= 0.1

Contrails Strength
= 0.5

Contrails Strength
= 1
Example: Contrails Distortion
Contrails distortion adds variation to the contrail's path.

Contrails Distortion
= 0.1

Contrails Distortion
= 0.5

Contrails Distortion
= 1
Example: Contrails Offset
Contrails offset shifts contrails in the X or Y direction in the sky.

Contrails Offset
= X 0, Y 0

Contrails Offset
= X 5000, Y 0

Contrails Offset
= X 0, Y 5000
Example: Contrails Pace
This animation shows Contrails Pace values from 0 to 2.0 in steps of 0.2.
Dynamic Clouds turns on automatic cloud formation. When enabled, clouds use unique offset and phase values based on the current time of day.
Wind Direction (deg) sets the wind direction vector's rotation in the horizontal plane. A value of 0 moves clouds in the positive X direction. Higher values rotate this vector clockwise in the horizontal plane.
Wind Speed (m/s) sets cloud movement speed in metres per second.
Phase Velocity (%/s) sets the phase change as a percentage of the cycle per second. At 1, the phase returns to its initial state every 100 seconds. Lower values produce slower changes and a longer phase loop.

Example: Customise the sky with procedural clouds
Watch the video on YouTube.
Options
Invisible hides the sun from the camera and reflections when enabled. This helps prevent bright speckles on glossy surfaces caused by a low-probability ray hitting the bright Sun disc.
Shadows lets V-Ray Sun cast shadows when enabled (the default). When disabled, the light casts no shadows.
Affect Diffuse lets V-Ray Sun affect materials' diffuse properties when enabled.
Affect Specular lets V-Ray Sun affect materials' specular properties when enabled.
Affect Atmospherics controls whether the light affects atmospheric effects in the scene. The value sets how much it affects them.
Atmospheric Shadows lets atmospheric effects in the scene cast shadows when enabled.
Caustic Photons
Caustic Subdivisions sets the number of caustic photons emitted by the light source. Lower values render faster but produce noisier results. Higher values produce smoother results but take longer to render.
Emit Radius defines the area around V-Ray Sun from which photons are emitted.

Notes
- From 6.00.02 onwards, Procedural Clouds look similar to Enscape clouds by default. For scenes saved in 6.00.00 or 6.00.01, enable Enscape Compatibility to make Clouds match Enscape. Once enabled, the checkbox disappears from the Interface.
- V-Ray 7 introduces PRG Clear Sky New, which is similar to the old PRG Clear Sky model. Scenes with suns and skies created in previous V-Ray versions load the old PRG Clear Sky model. You can also select the new Sky model from the dropdown menu in old scenes.