This page gives some basic details about the Refraction render element and how it is used in compositing.

 

Page Contents ×

Overview


The Refraction Render Element stores refraction information calculated from materials--such as glass or water--that refract objects behind them in the camera's view. This means the brightness, coloration, etc. of the refractions can be adjusted without the need to rerender.

Any material in a scene that has a value set for its Refraction parameter will generate refraction information that can be seen in this render element. A surface with no refraction values set in its material(s) will contain no information in the render element and therefore render black.

The Refraction Render Element is a key component in the main Beauty Element and can easily be used to control the refractions in the Beauty composite.

The Refraction Render Element itself is already a composite of the VRayRawRefraction render element multiplied by the VRayRefractionFilter render element. When finer control over refractions is needed in the composite, add these additional two channels to the output along with the VRayRefraction render element channel.

 



UI Path:



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


Parameters


This render element is enabled through the Render Elements tab of the Render Setup window in 3ds Max and displays its parameters in a rollout at the bottom of the window:






vrayVFB – When enabled, the render element appears in the V-Ray Virtual Frame Buffer.

deep output – Specifies whether to include this render element in deep images.

color mapping – Applies the color mapping options specified in the Color mapping rollout of the V-Ray tab in the Render Setup window to this render element. This option is enabled by default.

multiplier – Sets the overall intensity of the render element, where 1.0 is the standard multiplier.

denoise –  Specifies whether to denoise this render element.


Common Uses


The Refraction Render Element is useful for changing the appearance of refractive elements after rendering in a compositing or image editing application. Below are a couple of examples of possible uses.

 

 


Refraction Render Element

 


Original Beauty Composite

 

 

 

 

 


Brightened Refractions

 


Tinted Refractions

 

 


Compositing Formula 


VRayRawRefraction x VrayRefractionFilter = VRayRefraction