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.
UI Path
||out Network|| > V-Ray Render Elements node > V-Ray > Render Channel > Color Channel > Diffuse
Attributes
The parameters for this render element appear in the V-Ray RenderChannelColor render channels node.
Denoise – Enables the render element's denoising, provided the Denoiser render element is present.
Consider for Anti-Aliasing – When enabled, anti-aliasing will be 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.
Color Mapping – When enabled, the Color Mapping options in the render settings will be applied to the current render channel.
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 below, the Diffuse is multiplied by the Raw Global Illumination Render Element 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.
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 below. In this case, a Multi Matte Render Element was used in conjunction with the Diffuse Render Element to isolate the center of the upper ring and change its color from yellow to green without also tinting its lighting or shadowing in any way.
Diffuse Render Element
with color correction on the center of the upper ring
Beauty Render Element
Resulting composite with Diffuse Render Element
with color correction on the center of the upper ring
Underlying Compositing Formulas
Diffuse x Raw Lighting = Direct Lighting
Diffuse x Raw Shadow = Shadow