VRayAlpha

This page gives information about the Alpha Render Element.




Overview

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.

images/download/attachments/38573316/BGrenderAlpha_GreyBorder.png

UI Path

||Render Setup window|| > Render Elements tab > Add button > VRayAlpha

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.

images/download/attachments/38573316/beauty-nobg_v01.png
Beauty composite with no background

images/download/attachments/38573316/BGrenderAlpha_GreyBorder.png
Alpha Render Element

images/download/attachments/38573316/BGrender.RGB_color_v01.png
New Beauty composite with the Background Render Element behind the original Beauty composite

Notes

  • 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 will not be treated as transparent in the Alpha Render Element.