This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
directional_light [2017/08/16 08:39] – 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). | + | 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' |
{{: | {{: | ||
Line 12: | Line 12: | ||
|Horizontal Angle|Determines the horizontal component of the light' | |Horizontal Angle|Determines the horizontal component of the light' | ||
|Vertical Angle|Determines the vertical component of the light' | |Vertical Angle|Determines the vertical component of the light' | ||
- | |Shadows Enabled| | | + | |Shadows Enabled|When enabled, the directional light will cause entities in the scene to cast shadows.| |
- | |Shadow Darkness| | | + | |Shadow Darkness|Determines the darkness of shadows, with 100 being the darkest.| |
- | |Shadow Blur| | | + | |Shadow Blur|Determines the amount of blur applied to shadows, with 4 having the most blur applied.| |
~~NOTOC~~ | ~~NOTOC~~ |