You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This page is a work in progress

Introduction

Redshift has a number of integrated AOVs that require little to no additional setup to get started. We'll demonstrate the use of these integrated AOVs using the example scene below which includes most common shading elements (diffuse, translucency, reflections, refractions, bump mapping, normal mapping, SSS), several different light sources, environment lighting, global illumination, and caustics.

Where the scene does not already contain the shading elements needed to cover particular AOVs (emission, volume rendering, motion vectors) small changes will be made in order to demonstrate these AOVs.

Integrated AOV example scene

AOV Workflow

There are essentially two different methods of working with AOVs in Redshift. A more simple method that makes use of fewer AOVs and a more complex method that requires several more AOVs but allows for greater control over individual shading elements. The more complex but more flexible method of working with AOVs involves additional "raw" type AOVs that isolate shading elements down even further, like separating the color component of a material from the lighting contribution in the scene. By comparison you might consider the more simple method the "standard" or "non-raw" workflow. 

Both methods are capable of perfectly recreating the primary beauty render so it's just a matter of choosing what works best for you and your project. We will cover both methods below but the raw AOV's separately to reduce confusion. 

Standard Shading Elements

Diffuse Lighting

Diffuse Lighting AOV
The Diffuse Lighting AOV contains the diffuse and translucency lighting component of the material's final shaded result. Typically, diffuse lighting reaching a material is multiplied by the material's diffuse color. The Diffuse Lighting AOV returns this multiplied result.

If this multiplication is not desired, you can use the Diffuse Lighting Raw AOV, instead, which returns the non-multiplied diffuse lighting.

The Diffuse Lighting is tinted by each object's material diffuse color. The Diffuse Lighting Raw looks almost black and white because it contains only the light color and intensity information without the multiplication with each material's diffuse color.

The Diffuse Lighting AOV already includes a renders Translucency component. If you need to isolate the Translucency component from the Diffuse Lighting AOV please see the raw AOV workflow here.

Reflections

Reflections AOV
The reflections AOV contains the reflection component of the final shaded result. Please note that the reflections do not contain the reflections of lights also known as specular reflections): these are contained in the specular AOV. The example scene is lit by an environment shader so environment reflection shows prominently on the table here in the reflection AOV. 

Specular Lighting

Specular Lighting AOV
The specular lighting AOV contains only the lighting component of the final shaded result. Please note that by 'specular lighting' we mean the reflections of lights only. This is demonstrated in the picture above. The example scene is lit by an environment shader which does not act as a light so the environment reflection shows up in the reflection AOV rather than the specular AOV. 

Refractions

Refractions AOV
The refractions AOV contains the refraction component of the final shaded result. In the example scene pictured above you can see how the refractive drinking glass dominates this AOV since any ray that passes through the drinking glass is considered a refraction ray at that point.

Sub Surface Scatter

Sub Surface Scatter AOV
The Sub Surface Scatter AOV contains the subsurface scattering component of the final shaded result. In this scene only the lemons have any sub surface scattering element to their shaders and that is displayed here.

Caustics

Caustics AOVCaustics AOV Exposure +4
The caustics AOV contains the caustics lighting component of the material's final shaded result. In the example scene pictured above the caustic contribution is relatively low so I have provided the same Caustics AOV with a boost to exposure by +4 so that you can see it more easily. 

Emission

To demonstrate the Emission AOV the example scene has been modified to include emissive elements. Every material in the scene except the drinking glass, liquid, and table have had their diffuse color linked to the emission port with their emission weight set to 0.5. To further highlight the effect of emission all scene lights have been hidden and the environment shader disabled.



Beauty with Emission added

Global Illumination

Global Illumination AOV
The global illumination (GI) AOV contains the GI lighting component of the material's final shaded result. The GI lighting reaching a material is multiplied by the material's diffuse color. The GI AOV returns this multiplied result.

If this multiplication is not desirable, you can use the Global Illumination Raw AOV, instead, which returns the non-multiplied GI. Please see here for more information on raw AOVs.


 







Raw Shading Elements

Diffuse Filter & Diffuse Lighting Raw 

Diffuse Filter AOVDiffuse Lighting Raw AOV
The Diffuse Filter AOV contains only the diffuse color contents of a shader without any lighting contribution. Any material that performs diffuse lighting typically has a diffuse color port which can be textured, set to a constant color, or connected to an elaborate shading graph. The diffuse filter AOV in conjunction with 'raw' lighting AOVs allows the user to tweak the lighting results separately from each material's diffuse color.

The picture above shows the diffuse color of each object. Notice that the the objects are not purely diffuse but actually have a bit of reflection on their silhouettes (Fresnel effect). For this reason, the diffuse component is a bit dimmer around their silhouettes since reflection 'takes away energy' from diffuse lighting.

Translucency Filter & Translucency Lighting Raw

Translucency FilterTranslucency Lighting Raw