Versions Compared

Key

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

...

Overview

...

Section
Column
width50%60%

The Refraction Filter Render Element is an image that stores refraction information calculated from the materials' refraction values in the scene. Materials with no refraction values appear as black, while refractive materials appear as white (maximum refraction) or gray (lesser amounts of refraction). If any hue (color) is specified in the material's Refractive Color parameter, that hue and value will be represented here in the Refraction Filter as well as being affected by the refraction's Amount parameter.

UI Text Box
typenote

To properly calculate the Refraction Filter Render Element, the Refraction Render Element must also be added to the list of render elements being calculated during the rendering process to properly determine all the refraction information in the scene.

 

UI Path: ||out Network|| > V-Ray Render Elements node > V-Ray > Render Channel > V-Ray Color Channel (RE) > Type > Refraction Filter

Column
width5%

 

Column
width45%35%

Image RemovedImage Added

Attributes

...

Section
Column
width50%60%

The parameters for this render element appear in the V-Ray RenderChannelColor render channels node.

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

Color Mapping – When enabled, the Color Mapping options in the render settings are applied to the current render channel.

Consider For AA – When enabled, anti-aliasing is used where possible.

Filtering – Applies the image filter to this channel. Image filter settings are in the Image Sampler tab of the Sampler tab of the V-Ray Renderer node.

Denoise – Enables the render element's denoising, provided the V-Ray Denoiser render element is present.

Derive Raw Channels – Generates data in the raw channels by combining the respective color and the filter color channels.

VFB Color Corrections – Applies the post render color adjustments made from the VFB.

Column
width5%

 

Column
width45%35%

Image RemovedImage Added

 

Common Uses

...

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

 

Section
Column
width10%

 

Column
width40%

Image Removed
Refraction Filter Render Element

 

Column
width40%

Image Removed
Original Beauty Composite

 

 

 

Column
width10%

 

Section
Column
width10%

 

Column
width40%

Image Removed
Refraction Filter Render Element with added contrast

 

Column
width40%

Image Removed
Tinted Refraction Filter Render Element with added contrast

 

 

 

Column
width10%

 

Section
Column
width10%

 

Column
width40%

Image Removed
Refractions with added contrast

 

Column
width40%

Image Removed
Tinted Refractions with added contrast

 

Column
width10%

 

 

In the example below, the refractions are brightened and tinted using the Refraction Filter RE. See the render before and after compositing.

 

Before after
Panel
borderStylenone

Image Added

Panel
borderStylenone

Image Added

 

Underlying Compositing Equation

...

Raw Refraction x Refraction Filter = Refraction

 

Image Removed

 

 

Image Added

Notes

...

Fancy Bullets
typecircle
  • To properly calculate the refraction information in the Refraction Filter and Raw Refraction Render Elements, the Refraction Render Element must also be rendered at the same time, even if it's not going to be used in the compositing process. Doing so enables all the refraction information to be included in the rendering calculations.