This page describes the Diffuse Render Element and how it is used to have more control of a final composited image.
Overview
The Diffuse Render Element shows the colors and textures used in materials, flatly applied to objects with no lighting information. The colors are the actual colors set in the material definition, and each texture appears as it does in the texture (file) itself. There are no highlights or shadows, and any background image is not included.
Other render elements that include colors from materials are said to include the diffuse contribution or the diffuse component of the rendered scene. The Diffuse Render Element contributes this diffuse component; any render element that includes this diffuse component is a combination of Diffuse and other render element(s).
This render element is, by itself, useful for making overall adjustments and enhancements to base colors and textures during compositing without effecting things like reflections and highlights.
Attributes
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.
Common Uses
The Diffuse Render Element is useful for changing the appearance of many passes when it is combined with Raw render passes (like Raw GI, Raw Light, etc.).
In the example, the Diffuse is blended with the Raw Global Illumination Render Element in Multiply mode to provide the Global Illumination pass. In this way, color correction can be performed upon the raw pass without the actual diffuse colors being changed, making it possible to tint a pass in a realistic way without re-rendering.
Diffuse x Raw Lighting = Direct Light
Diffuse x Raw Shadow = Shadow
The Diffuse is a very useful render element due to the number of raw passes with which it can be combined, giving the ability to manipulate many areas of the render at the composite level. The Diffuse pass can also be color-corrected on its own, as shown in the example. In this case, a Multi Matte Render Element is used to isolate the cloth on the sofa. The Diffuse Render Element is used to change the cloth's color from yellow to blue. This method avoids tinting the lighting or shadowing of the scene.