Maven module :un.engine : engine-opengl :
Class : un.engine.opengl.light.DirectionalLight
Extends/Implements : un.engine.opengl.light.Light
Subclasses : -

Directional light.
Direction are provided by the GLNode matrix.
Collada 1.5 :
A directional light is one that lights everything from the same direction, regardless of location.
The light’s default direction vector in local coordinates is [0,0,-1], pointing down the negative z axis. The
actual direction of the light is defined by the transform of the node where the light is instantiated.
author  Johann Sorel


Variables : -
Functions : DirectionalLight, DirectionalLight, getWorldSpaceDirection, createFittingCamera



public void DirectionalLight ()

public void DirectionalLight (Color diffuse, Color specular)

public Tuple getWorldSpaceDirection ()


Create the directional light best camera to produce a shadowmap.
param  camera
return
public CameraMono createFittingCamera (CameraMono camera)