This page gives some basic details about the Raw Refraction Render Element and how it is used in compositing.

Page Contents


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 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 Refraction Render Element.

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.




  UI Path: ||Shading viewport|| > Shader Tree > Add Layer button > V-Ray Render Elements > V-Ray Additional Outputs > Raw Refraction



This render element is enabled and controlled through the V-Ray Additional Outputs properties.

Enable Raw Refraction – Enables the Render Element.

Name – Sets a custom name for the Raw Refraction Render Element.

Deep OutputSpecifies whether to include this Render Element in deep images.

Apply Color MappingApplies the color mapping options specified in the Color mapping rollout of the V-Ray Main Render Settings.



Common Uses

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




Brightened Refractions


Tinted Refractions



Underlying Compositing Equation   

Raw Refraction x  Refraction Filter = Refraction





  • 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.