Square Enix © Goodbye Kansas

Table of Contents

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 vrayRE_Diffuse and other render element(s).

Note that the Diffuse Filter Render Element is affected by reflection and refraction combined weight. 1

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: ||Display Render Settings button|| > Render Elements tab > Diffuse


 



To use render elements, select from the Available render elements column and click the Add button to add the passes you wish to generate at render time. When you render the scene, the added render elements listed in the column on the right, will also render, which can be viewed from the VFB window's channel drop-down menu.

For more information on the parameters on this dialog, see the Render Elements tab page.



Attributes


The parameters for this render element appear in the Attribute Editor under Extra V-Ray Attributes.

Enabled – 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.

Filename suffix – The text added to the end of the rendered file, when saved as a separate file (e.g. myrender.diffuse.vrimg).

Denoise – Enables the render element's denoising, if Denoiser render element is present. 


Common Uses


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



A matte for the center upper ring created using a V-ray Multimatte render element





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


vrayRE_Diffuse x vrayRE_RawGI = GI







Notes


1 - This means that reflective objects with solid diffuse color appear differently according to the view angle. The actual diffuse color is displayed only if the VRayRawDiffuse Render Element is used. 

Was this helpful?