Versions Compared

Key

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

...

Normal – Lighting within the Light Select element behaves as normal and contains diffuse and specular information.
Raw – Lighting within the Light Select element behaves as a raw render element.
Diffuse – Lights within the Light Select element output only their diffuse contribution and contain no specular information.
Specular – Lights within the Light Select element output only their specular contribution and contain no diffuse information.

Common Use: Changing Lighting in Composite

...

Below is an example of how to use the Light Select Render Element in a composite.

The both the element's mode's have been set to  set to Normal

The scene used for the images below uses only two lights, a VRaySunSky and a VRayLightMesh.  Each have their own Light Select render element assigned with the element's mode's have been set to  set to Normal. The examples below show how the two Light Select render elements can be combined to give the same result as the Lighting render element, and combined with the Global Illumination render element to give the equivalent of the Total Lighting render element. This gives a fine level of control in composite to change things such as the intensity or color tinting of only some lights at a time.

 

vrayRE_Light_Select Render Examples

...

 

Section
Column
width5%

 

Column
width30%

Image Added
Light Select 1 - with its Type set to Diffuse

 

Column
width30%

Image Added
Light Select 1 - with its Type set to Raw

 

Column
width30%

Image Added
Light Select 1 - with its Type set to Specular

 

Column
width5%

 

Section
Column
width10%

 

Column
width40%

Image Added
Light Select 2 - with its Type set to Diffuse.

 

Column
width40%

Image Added

 Light Select 2 - with its Type set to Raw

 

Column
width10%

 

Note

As the second light (the VRayLightMesh) contains no specular contribution at all, it is not rendered out for Light Select 2.

 

 

Section
Column
width10%

 

Column
width40%

Image Added
Combined Light Select passes to recreate the Lighting render element (a mask from a Multimatte was used to remove the background ,lighting. This is as in this scenes case the back is camera projected onto simple geometry)

 

Column
width40%

Image Added
Combined Light Select passes combined with the GI render element to recreate the Total Lighting render element

 

Column
width10%

 

Note

Light Select Diffuse, Raw and Specular Types are combined by all Diffuse being merged together with a plus operation in composite. The same is done to the Raw and Specular Types. The combined Diffuse Light Select passes are then merged in composite with a Multiply operation with the Raw Light Select passes. These are then merged with the Specular Type Light Select passes which then produces the same as the Lighting Render Element. If all these combined Light Select operations are then combined with the GI Render Element with a plus operation in composite the Light Total Render Element will be reproduced.

As the Specular component is already present in the Light Select Render Elements, no Specular Render Element is needed to be present in the final composite.

In the examples shown here, as the background is camera projected onto simple geometry and we do not need any extra lighting information added to it; A mask created from the inverted blue channel of a Multi Matte Render Element.

Image Added

 

Section
Column
width5%

 

Column
width30%

Image Added
The Multi Matte Render Element

 

Column
width30%

Image Added
The Multi Matte Render Element with blue channel

 

Column
width30%

Image Added

A mask made from the Multi Matte Render Element with and blue channel

 

Column
width5%

 

Section
Column
width10%

 

Column
width40%

Image Added
 Tinted Light Select 1 - with its Type set to Raw

Column
width40%

Image Added
The Beauty composite with  Tinted Light Select 1 - with its Type set to Raw

 

Column
width10%

 

Section
Column
width10%

 

Column
width40%

Image Added
 Tinted Light Select 1 - with its Type set to Diffuse

Column
width40%

Image Added
The Beauty composite with  Tinted Light Select 1 - with its Type set to Diffuse

 

Column
width10%

 

Section
Column
width10%

 

Column
width40%

Image Added
 Tinted Light Select 1 - with its Type set to Specular

Column
width40%

Image Added
The Beauty composite with  Tinted Light Select 1 - with its Type set to Specular

 

Column
width10%

 

Section
Column
width10%

 

Column
width40%

Image Added
Beauty element prior to changes

 

Column
width40%

Image Added
VRaySunSky intensity has been increased and its color warmed slighting and The Engine VRayLightMesh has had its intensity increased

 

Column
width10%

 

 

Notes

...

Fancy Bullets
typecircle
  • When using Light Select, a good practice is to have one Light Select pass for each light source in your scene. This way the Lighting element can be recreated from them, and adjusted as needed while compositing without re-rendering.

  • If the Light Select element type is set to Normal, the specular contribution is added to the render element. While this is perfect for simple compositing, a better workflow is for each light to be selected for two Light Select Render Elements, one with its type set to Diffuse and another with its type set to Specular. In this way, the specular and diffuse lighting can both be controlled independently at a composite level.

...