VRayShadows

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

Overview

The Shadows Render Element works as a reverse mask for shadows. It is a color image that can be used to lighten, darken or tint shadows. Shadows can be lightened in the composite by adding this render element, or darkened by subtracting this render pass from the final composite.

The VRayShadows render element is the product of multiplying the VRayRawShadow Render Element with the VRayDiffuseFilter Render Element in the composite.

images/download/attachments/38573230/Norsouth.VRayShadows.png

UI Path:

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


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:

images/download/attachments/38573230/VRayShadows_RE_2018.png

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 Shadows Render Element is useful for changing the appearance of shadowed areas in a compositing or image editing application. Below are examples of possible uses.

images/download/thumbnails/38573230/Norsouth.VRayShadows.png
Shadows Render Element

images/download/attachments/38573230/BueatyRenderOUT.png
Original Beauty Composite

images/download/attachments/38573230/shadowslighter_out.png
Shadows lightened in composite using the Shadows Render Element

images/download/attachments/38573230/shadows_out.png
Shadows darkened in composite using the Shadows Render Element


Underlying Compositing Equation

VRayRawShadow x VRayDiffuseFilter = VRayShadows


images/download/attachments/38573230/VRayShadows_Graph_00000.png



Notes

  • The VRayShadows Render Element can be both added and subtracted with the final beauty comp at a composite level without rerendering.

  • Shadows can be color-corrected using the VRayShadows Render Element.

  • When rendering with V-Ray GPU CUDA, the VRayShadows Render Element is incompatible with Adaptive Lights and may render incorrectly if used together. The light evaluation mode can be adjusted from the Global Switches rollout in Advanced mode.