Versions Compared

Key

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

...

Section
Column
width55%

The VRayAerialPerspective atmospheric effect simulates aerial perspective - the effect that the Earth atmosphere has on the appearance of objects that are viewed from a distance, and which is similar to fog or haze. The atmospheric effect works together with the VRaySun and the VRaySky to calculate an approximation to the aerial perspective effect. It is faster to calculate than the VRayEnvironmentFog atmospheric, although the result is just an approximation - for example, the VRayAerialPerspective atmospheric cannot produce volumetric shadows.

 


UI Expand
titleUI Path: ||Hypershade|| > Create panel > VRay section > Volumetric > VRay Aerial Perspective
Section
Column
width60%

Image Added

Column
width40%
Image Removed




Column
width5%

 


Column
width40%

 

 


How to Set up

...

Section
Column
width62%

To set VRayAerialPerspective, go to Render Settings > Overrides > Volumetrics.

Enable the Use environment volume option. Click on Add New Item to create new Environment Volume slots. You can add one or multiple slots. Click on the icon and set the VRayAerialPerspective volumetric as an Environment Volume map.

UI Text Box
typenote

Multiple Environment Volumes are not supported on V-Ray GPU.

Column
width5%


Column
width33%

...


...


Section
Column
width62%

The VRayAerialPerspective node needs to point to a VRayGeoSun node in order to work.

VRayAerialPerspective automatically maps to the V-Ray Sun, once created.

You can disable the V-Ray Sun, if not needed, but the creation of the node is necessary for VRayAerielPerspective.

 
Column
width5%


Column
width33%

Parameters

...

Section
Column
width62%

Sun – Specifies the V-Ray Sun object in the scene that the Aerial Perspective effect is connected to.

Enabled – Turns the atmospheric effect on or off.

Distance (m) – Specifies the distance, in meters, 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. For more information, see the Visible Distance example below.

Atmospheric Height (m) – Controls the height of the atmosphere layer, in meters. Lower values can be used for artistic effects. The value is in meters and is converted internally based on the current Maya units. For more information, see the Visible Height example below.

Inscattered Light Mult. – Controls the amount of sunlight scattered from the atmospheric effect. The default value 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. For more information, see the Affect Environment Rays example below.

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 – Enables volumetric contribution to the alpha channel. This options is not supported with V-Ray GPU, yet.

Filter Color – Affects the color of the unscattered light.

 
Column
width5%


Column
width33%

...

 



Anchor
visDist
visDist

...


Example: Visibility Distance



Section
 
Column
width10%


Column
width40%


Distance is 20000 meters 


Column
width40%


Distance is 100000 meters 


Column
width10%

 



Anchor
visHeight
visHeight

...


Example: Visibility Height



Section
Column
width10%
 

Column
width40%


Atmospheric Height is 20000 meters 


Column
width40%


Atmospheric Height is 60000 meters

 


Column
width10%

 



Anchor
affectEnvironmentRays
affectEnvironmentRays

...

Example: Affect Environment Rays



Section
Column
width5%

 


Column
width30%


Aerial Perspective is Disabled 


Column
width30%


Aerial Perspective is Enabled, Affect Environment is Disabled

The sky color and sun shadows are unaffected by the mist effect


Column
width30%


Aerial Perspective is Enabled, Affect Environment is Enabled

The mist effect blocks the sky and the sun light


 
Column
width5%