Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page provides information on the Normals Color Channel which creates a normals image from surface normals in the scene.

 

Overview

...

Section
Column
width100%50%

Normal is a Color Channel that stores the camera space normal map using the geometry's surface normals. The Normal channel is useful for adjusting lighting in the composite. For example, the red, green and blue channels can be adjusted in compositing software.

Bump maps are not represented in this render element; to include bump maps, use the Bump Normals Render Channel.

Column
width5%

 

Column
width45%

Image Added

 

UI Path

...

 

||Node Editor|| > Add > Render Channels > Normals


Node

...

Section
Column
width50%

Name - The

Parameters

Image RemovedThe Normals render element extracts the directions of the normals of each face visible in the final image

Name - the name of the render channel.

Filtering - enables Enables or disables the AA filtering for the current render channel.

Column
width5%

 

Column
width45%

 


Normal Color Generation

...

The Normal Render Element uses screen space to determine the colors in the render element. With screen space in the camera view:

The X axis runs left-right perpendicular to the camera viewing angle. This is represented in the Red channel of vrayRE_Normals with 1 being left-facing geometry and 0 being right-facing geometry.

The Y runs up-down perpendicular to the viewing angle. This is represented in the Green channel of vrayRE_Normals with 1 being up-facing geometry and 0 being down-facing geometry.

The Z runs forward-back to the viewing angle. This is represented in the Blue channel of vrayRE_Normals with 1 being forward-facing geometry and 0 being back-facing geometry.

 

Section
Column
width10%

 

Column
width40%

Image Added
Screen space XYZ coordinate system
relationship to camera and RGB colors
(Some geometry has been hidden in this screenshot for the sake of clarity) 

 

Column
width40%

Image Added
Full vrayRE_Normals Render Element

 

Column
width10%

 

World Normals Render

...

World Normals renders all visible objects in the scene with a color ramp based on the world space X, Y, and Z coordinates of their polygonal normal, and represents the actual 3D coordinate in space. These can be both positive and negative, so a floating point image format should always be used when saving this output.

Image Added

 

Common Uses - Relighting

...

The Normal Render Channel is useful for changing the appearance of lighting in a scene in a composite without the need for re-rendering.

In the example below a relighting workflow is used at a composite level to change the lighting in the scene. Note that it does not create any extra shadowing. This example is exactly the same under the hood as that shown in the Bump Normals page with the only change being that the Normals render element was used here instead of the Bump Normals render element.

 

Section
Column
width20%

 

Column
width60%
Image slider
Panel
borderStylenone

Image Added

Bump Normals Render Element

Panel
borderStylenone

Image Added

The World Positions pass

Panel
borderStylenone

Image Added

Original Beauty Composite

Panel
borderStylenone

Image Added

The resulting relit composite

Column
width20%