Versions Compared

Key

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

...

UI Text Box
typetip

If changes to the render element are made while the VFB is open, those changes are reflected after the VFB is closed and reopened.

 


Overview

...

Section
Column
width60%

The Light Mix render element provides adjustment control to the lights in the scene from inside the New V-Ray Frame Buffer (VFB2). When a Light Mix render element has been added before rendering, the intensity and color of the lights and light emitting materials can be changed directly from the VFB during and after rendering; lights can be enabled or disabled on the go, without the need of re-rendering your final output, or navigating to individual lights parameters during IPR. Furthermore, modifications made in the LightMix can be transferred back to the actual lights in the scene with a single click. This feature can handle individual lights as easily as light groups or custom selections.

Read more about LightMix on the Chaos blog and the V-Ray 5 for Maya Courseware dedicated page. 



UI Expand
titleUI Path: ||Render Setup window|| > Render Elements tab > Add button > VRayLightMix
Section
Column
width25%

 


Column
width50%

Multiexcerpt include
MultiExcerptNameRE
PageWithExcerptRender Elements

Column
width25%

 

 



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.

 
Column
width5%


 
Column
width35%


 

Parameters

...

Section
Column
width60%

Enabled When enabled, the render element appears in VFB2.

DenoiseSpecifies whether to denoise the Light Mix render element, if a Denoiser render element is present. Note that if the Group by option is set to Manual light selects, this option overrides the Denoise parameter of each Light Select.

Group by – Specifies how to group the lightning information:

Instanced lights – If there are instanced lights in the scene, each group has its separate channel. All unique lights in the scene are stored in their individual render channels;
Individual lights
– Lighting information of each light is stored in a separate channel;
Grouped lights
– Lighting information of each group of lights is placed in a separate channel. All lights that are not attached to any group in the scene are stored in their individual render channels;
Manual light selects – Render channels are created based on the existing Light Select render elements in the scene. Lights that are not specified there, are collected in single render channel called Rest.

UI Text Box
typeinfo

Each grouping mode automatically creates Environment and Self Illumination render elements and Light Mixing adds them as groups. The information from the light emitting materials is stored in the Self Illumination channel, while the Environment info is stored in the Environment channel.

Save "Rest" Channel – Disabled by default. When enabled, saves a separate Rest channel in the rendered files. The Rest channel includes all the lights, which have not gone to any Light Selects. For example, if a scene has more than 64 lights which are not grouped in any way, the first 64 lights will have individual Light Selects and the rest will go the Rest channel.

Column
width5%


Column
width35%

...

Section
Column
width65%

When the Source is set to LightMix, you can enable/disable lights and adjust light intensity and color during and after the render. The modifications can be saved as light mix presets and reused. VRayLightMix automatically creates Environment and Self Illumination render elements.

Reset – Resets all changes made to default values.

Save – Saves the changes as light mix preset.

Load – Loads a light mix preset.

To scene – Applies the current VRayLightMix changes to the scene. This sends all changes to colors/intensities back to the scene lights.

To Composite – Sends the Light Selects from LightMix to Composite for additional post adjustments.

Recent – Shows a list of recent light mix presets.

Checkbox – Enables/Disables the selected light.

Multiplier – Specifies an intensity multiplier.

Color Slot – Specifies a color for the selected light.

 
Column
width5%


Column
width30%

 


LightMix Selection

...


Section
Column
width65%

Right-clicking on an item in the LigtMix list allows you to select that item in the viewport.

 


Select lights in the scene – Selects the current item in the viewport.
Add lights to the selection – Adds the current item to the selection in the viewport.
Remove lights from the selection – Removes the current item from the selection in the viewport.

 


When the lights are grouped in any way, depending on the setting of the Group by parameter, selecting a group, selects all the lights included in it.


There are some general groups that are automatically created by the Light Mix RE, which allow you to control groups of lights:

All – Turns on/off all lights.

Environment – Contains the emitting effect of any map placed in Maya's Environment overrides (Render Setup > Overrides tab > Environment rollout).

Self Illumination – Contains either all parts of the scene which have a self illumination material, or only the parts of the scene which haven't been included in any groups specified by Light Selects. Some parts of the scene might also be present in this category if the individual number of self emitting materials exceeds the maximum range of 62 for all the Light Selects.

Rest – Includes all the individual lights that are not part of any group defined by a Light Select or exceeding the limit of the list (the limit of the list is 62 individual lights or Light Selects).

 
Column
width5%


Column
width30%

 

Common Use

...

In the example below, we've created two different light setups with the help of VRayLightMix: daylight and dusk. The Daylight appearance is achieved by using sunlight and an additional softlight to simulate light coming from the outside. The Dusk appearance is achieved by setting the sun Multiplier to 0, changing the color multiplier of the outside light to blue, increasing the intensity multiplier of all interior lights and tinting them with warmer colors (all ceiling and built-in furniture VRayLights), adjusting the self-illumination multiplier of desk and ceiling lights, shaded with VRayLightMtl. 


Section
 
Column
width15%

Column
width70%
Before after
afterLabelDusk
beforeLabelDaylight
Panel
borderStylenone

Panel
borderStylenone

 
Column
width15%