Directional light

As we've previously introduced in the Overview section, in Paradise Sandbox there is always one (and just one) directional light in each scene, which always casts shadows. It must be named "MainLight", but that's already done in all presets.

Usually this directional light is linked to the Sun (See Sky component): direction and color. All Paradise Sandbox presets come with this main directional light already configured, so the user doesn't have to worry about it (in both: open-door scenes with physically-based sky and indoor scenes without sky).

Properties:

  • Direction: Direction of the light. Remember that a directional light is defined by just one direction vector. Usually this direction is automatically set by the Sky component.
  • Cast shadows: Determines if the directional light must cast shadows. It must to be enabled.