The Directional Light entity lights an entire 3D scene evenly from one direction. This entity adds a Directional Light to the node it is applied to.
A directional light can be thought of as a distant light source which lights the entire scene. It behaves in many ways like the sun.
A directional light does not have any identifiable source position and so the node can be placed anywhere in the scene. All objects in the scene are illuminated as if the light is always from the same direction. The distance of the light from the target object is not defined and so the light does not diminish.
Directional Lights should be used as an imaginary out of scene light source. For lights within a scene, that have been modelled, Spot Lights and Point Lights should be used.
When added to a node, the nodes position in 3D space does not affect how the light is emitted. Only the direction of the light, color and intensity matter for this entity.
With the node selected, the directional light points in the direction of the blue arrow (forward direction) on the node. The direction of the light source is controlled by changing the direction of the blue arrow.
With the model node selected and the Directional Light entity added to the node, the following will be displayed in the Information Panel:
The color will change based on the values of the properties below. The Color field will display the color of the light being created when the parameters below change.
Red Intensity controls how much red will be in the light source. Enter a number from 0 to 1
Green Intensity controls how much green will be in the light source. Enter a number from 0 to 1
Blue Intensity controls how much blue will be in the light source. Enter a number from 0 to 1
Intensity (brightness) controls how bright the light will be. The higher the number, the brighter the light source. Enter any number in this property to change the intensity.
Directional Lighting allows shadowing to be applied to the scene.
Select the type of shadow from:
The following settings can be applied for this shadow type:
Select the scaling method from:
The following settings can be applied for this shadow type:
Enter a value between 8 and 32 (default 16)
The penumbra is the outer region of a shadow which is partially occluded, displaying a gradient between fully dark and fully light.
Enter a value between 0 and 50 (default 7)
Select the scaling method from:
This Shadow Type has a penumbra size based on the distance from the occluder.
The following settings can be applied for this shadow type:
Enter a value between 8 and 32 (default 24)
The penumbra is the outer region of a shadow which is partially occluded, displaying a gradient between fully dark and fully light.
Enter a value between 0 and 1 (default 0.2)
Enter a value between 1 and 20 (default 5)
With the model node selected and the Directional Light entity added to the node, the following will be displayed in the Parameter Panel:
Intensity (brightness) controls how bright the light will be. The higher the number, the brighter the light source. Enter any number in this property to change the intensity.
Red Intensity controls how much red will be in the light source. Enter a number from 0 to 1
Green Intensity controls how much green will be in the light source. Enter a number from 0 to 1
Blue Intensity controls how much blue will be in the light source. Enter a number from 0 to 1
The following parameters will be displayed for controlling shadows:
Any rule applied should result in one of the following:
Any rule applied should result in one of the following:
Any rule applied should result in one of the following:
See Shadow Casting above for the resolution that will be applied for the Shadow Type in use.
Any rule applied should result in one of the following:
Applies when the Scaling Method results in Manual.
Enter a value to use for the Scale of the shadow.
Applies when the Shadow Type results in PCF.
Any rule applied should result in a value between 0 and 50 (default 7)
Applies when the Shadow Type results in PCF.
Any rule applied should result in a value between 8 and 32 (default 16)
Applies when the Shadow Type results in ContactHardened.
Any rule applied should result in a value between 8 and 32 (default 24)
Applies when the Shadow Type results in ContactHardened.
Any rule applied should result in a value between 0 and 1 (default 0.2)
Applies when the Shadow Type results in ContactHardened.
Any rule applied should result in a value between 1 and 20 (default 5)
Please see the topics below for more information: