Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: re-formatting a block of information

...

The diagram above illustrates that the sum of all VRayLightSelect Render Element set to Direct diffuse mode represents the VRayLighting render element which can be used in the Back to Beauty composite. For the above equation to work correctly, all enabled lights need to be accounted for exactly once in the VRayLightSelect render elements. This happens by either specifying each light in a separate element, or combining them in a practical manner in several elements and avoiding repetitions.

Generally, the output from all scene lights in the various modes of VRayLightSelect can be composed as follows:

...

When the VRayLightSelect render element is set to Direct diffuse mode, the sum of all lights' output

...

composes the VRayLighting render element. It must be noted

...

that VRayAlSurfaceMtl

...

 with sss_mix value

...

other than the default 0, doesn't fit this equation.

...

When the VRayLightSelect render element is set to Direct raw mode, the sum of all lights' output

...

composes the VRayRawLighting render element. This is only true when GI is disabled and there are no dome lights in use.

...

When the VRayLightSelect render element is set to Direct specular mode, the sum of all lights' output

...

composes the VRaySpecular render element.

When the VRayLightSelect render element is set to Direct illumination mode, the sum of all lights' output

...

replaces the sum

...

of VRayLighting

...

 and VRaySpecular

...

 render elements in

...

the Back to Beauty

...

 composite.

...

When the VRayLightSelect render element is set to Full mode, the sum of all lights'

...

output composes the Beauty pass. This is only true when the environment is black and no environment override is used

...

. There should be no self-illuminating

...

materials, because they can't be added as contributing light sources in the VRayLightSelect render element

...

.

...

Caustics are not included in the calculation of VRayLightSelect Render Element.

 


Notes

...

Fancy Bullets
typecircle
  • If the VRayLightSelect element mode is set to Direct illumination, 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 VRayLightSelect Render Elements, one with its mode set to Direct diffuse and another with its mode set to Direct specular. In this way, the specular and diffuse lighting can both be controlled independently at a composite level.

  • There is no contribution from VRayAmbientLight in the output from VRayLightSelect render elelement in Raw, Specular and Diffuse modes.