Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: information added.



The Light Select Render Element represents the lighting contribution from a list of selected lights. It can output their direct contribution (in Raw, Diffuse, Specular or normal Illumination mode) or their Full effect on the scene illumination (including GI, SSS, reflection, refraction, etc). Multiple VRayLightSelect elements can be rendered for a single scene, and lights may be included in more than one VRayLightSelect element. However, a good practice is to have one Light Select element for each light source in your scene. This way, specific lights in the resulting render can be adjusted (color, temperature, brightness, etc.), while compositing without the need of re-render.

For example, by generating a Light Select element for all of the backlights in a scene, an artist may adjust the backlighting of the rendered scene easily in the composite without affecting the rest of the scene's illumination.





UI Path: ||Render Setup window|| > Render Elements tab > Add button > VRayLightSelect


The following diagram shows the compositing formula to recreate all the scene Lighting from light sources when each light in the scene is accounted for in exactly one VRayLightSelect render element in Diffuse mode.





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.


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.




Fancy Bullets
  • 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 VRayAmbientLight contribution from VRayAmbientLight in the output from of VRayLightSelect render elelement in Raw, Specular and Diffuse modes.