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 revision Previous revision
Last revision Both sides next revision
directional_light [2017/08/16 08:45]
justin
directional_light [2017/08/16 08:48]
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). 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.+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. ​You can easily judge the light'​s direction based the sides of objects receiving more light and the direction of the shadows.
  
 {{:​wiki:​directional_light.png?​nolink|}} {{:​wiki:​directional_light.png?​nolink|}}
directional_light.txt ยท Last modified: 2017/08/16 08:50 by justin