Skip to content
07-848 2005

Application SDK

Directional Light

In this chapter we'll cover another simple light source - directional light. It represents an infinite parallel light source, such as a floodlight. Its direction is determined by the rotation part of the transform matrix.

Last updated 31 March 2026

In this chapter we'll cover another simple light source - directional light. It represents an infinite parallel light source, such as a floodlight. Its direction is determined by the rotation part of the transform matrix.

Specific parameters

The LightDirect plugin type contains all the common parameters described in the section for Light Rectangle, along with the specific ones for Light Omni (except for decay). There are two more parameters specific for the directional light:

  • storeWithIrradianceMap - When this option is on and GI calculation is set to Irradiance map V-Ray will calculate the effects of this light and store them in the irradiance map. The result is that the irradiance map is computed more slowly but the rendering takes less time. You can also save the irradiance map and reuse it later.
  • beamRadius - Radius of the beam around the light. This only determines where photons for caustics are shot from. Set to 0.0 if you want to disable the beam.

Example

Here we'll show how to add a LightDirect to a scene.

Python

C++

C#.NET

Node.js

Result

The scene used for this render is called "Lighting_Direct.vrscene" and can be found in the scene bundle (comments on the different parameters available inside).

As you can notice, the directional light produces a lot of noise initially.