Versions Compared

Key

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

...

Overview

...

Section
Column
width50%65%

The Alpha Render Element shows the transparency of objects in the scene as grayscale colors. Solid geometry is represented by solid white, while those areas not blocked by geometry within the scene are black. Pixels at antialiased edges have varying shades of gray, as do semi-transparent surfaces.


UI Expand
titleUI Path: ||Render Setup window|| > Render Elements tab > Add button > VRayAlpha

 

Column
width5%

 

Column
width45%30%
Image Removed

 Image Added

 

Parameters

...

VRayAlpha has no controllable parameters.


Common Uses

...

The Alpha Render Element is primarily used as a mask to enable other elements to be placed behind the Beauty composite, such as the Background Render Element. The Alpha Render Element shown below takes into account the transparency of the glass in the windows , including the frosted glass made semi-transparent by a texture mask in the glass material.

 

Section
Column
width5%

 

Column
width30%

Image Removed
Beauty composite with no background

 

Column
width30%

Image Removed
Alpha Render Element

 

 

 

Column
width30%

Image Removed
New Beauty composite with the Background Render Element behind the original Beauty composite

 

 

 

Column
width5%

 

...

and masks them. See how the render looks before and after compositing.

Before after
darktrue
Panel
borderStylenone

Image Added

Panel
borderStylenone

Image Added

Notes

...

Fancy Bullets
typecircle
  • When using transparent materials such as glass, make sure that the material is set up to treat the material as transparent with regard to the Alpha channel. For example, when using VRayMtl as the material, set the Affect channels parameter for both Reflection and Refraction to Color+alpha or All channels. Otherwise, the transparent surface is not treated as transparent in the Alpha Render Element.

  • VRayAlpha render element is available as an output only when VFB is disabled from Render Setup > V-Ray tab > Frame buffer rollout > Enable built-in VFB, and an output format is chosen from Render Setup > Common tab > Render Output > Save file.