This page gives some basic details about the Raw Refraction Render Element and how it is used in compositing.
The Raw Refraction Render Element is a color image that stores refraction information calculated from materials' refraction values in the scene. Surfaces with no refraction values set in their materials contain no information in the render element, and therefore will render black.
In comparison, the Refraction Filter Render Element (VRayRefractionFilter) is a render element that indicates varying degrees of refraction in the scene, through brightness values in the image. Multiplying these two render elements together produces the VRayRefraction Render Element (VRayRefraction).
Note: To properly calculate the Raw Refraction 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.
||Render Setup window|| > Render Elements tab > Add button > VRayRawRefraction
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.
The Raw Refraction Render Element is useful for changing the appearance of refractive elements after rendering in a compositing or image editing application. Below are examples of possible uses.
Raw Refraction Render Element
Original Beauty Composite
Underlying Compositing Equation
- To properly calculate the refraction information in the Raw Refraction, Refraction Filter and Raw Refraction Filter 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.