User Tools

Site Tools


directional_light

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
directional_light [2017/08/16 08:44] justindirectional_light [2017/08/16 08:45] justin
Line 2: Line 2:
 ---- ----
  
-A **directional light** behaves similar to a light source that originates from very far away (like the sun). Since a directional light does not have any specific point of origin, objects in the scene are not affected by their position, only by the direction of the light (which is adjusted by changing its horizontal angle and vertical angle).+A **directional light** behaves similar to a light source that originates from very far away (like the sun). Since a directional light does not have any specific point of origin, objects in the scene are not affected by their position, only by the direction of the light (which is adjusted by changing its horizontal angle and vertical angle). In the image below, the only light enabled is the map's directional light. As you can see, there are no shadows or shaded surfaces since it lights everything globally.
  
 {{:wiki:directional_light.png?nolink|}} {{:wiki:directional_light.png?nolink|}}
directional_light.txt · Last modified: 2017/08/16 08:50 by justin