User Tools

Site Tools


ambient_light

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ambient_light [2020/02/15 10:40] justinambient_light [2020/07/23 08:43] (current) justin
Line 2: Line 2:
 ---- ----
  
-**Ambient light** is a type of lighting built into each map that uniformly lights the entire scene with the configured color. It affects every object in the map by the same amount regardless of the object'location. Ambient light is different than [[directional_light|directional lights]] in that it doesn't have any direction or point of origin. In the image below, the only light enabled is the map's ambient light. As you can see, there are no shadows or shaded surfaces since it lights everything evenly.+**Ambient light** is a type of lighting built into each [[map]] that uniformly lights the entire scene with the configured [[color]]. It affects everything in the [[map]] by the same amount regardless of its location. Ambient light is different than [[directional light]] in that it doesn't have any direction or point of origin. In the image below, the only light enabled is the [[map|map's]] ambient light. As you can see, there are no shadows or shaded surfaces since it lights everything evenly.
  
 {{:wiki:ambient_light.png?nolink|}} {{:wiki:ambient_light.png?nolink|}}
Line 8: Line 8:
 The table below describes each of the settings that can be adjusted for an ambient light from the [[Map Properties]] panel. The table below describes each of the settings that can be adjusted for an ambient light from the [[Map Properties]] panel.
 ^Icon^Setting^Description^ ^Icon^Setting^Description^
-|{{:wiki:color_swatch.png?nolink|}}|Color|Color of the light emitted. You can use the [[Set Ambient Light Color]] function to change the color of a map's ambient light via scripting.| +|{{:wiki:color_swatch.png?nolink|}}|Color|[[Color]] of the light emitted. You can use the [[Set Ambient Light Color]] function to change the [[color]] of a [[map|map's]] ambient light via [[script_syntax|scripting]].| 
-|{{:wiki:fade_in.png?nolink|}}|Energy|Determines the initial energy amount, or strength, of the light. You can use the [[Set Ambient Light Enabled]] function to change the energy of a map's ambient light via scripting. Disabling the light with this function will set its energy to 0, and enabling it will set its energy to 1.| +|{{:wiki:fade_in.png?nolink|}}|Energy|Determines the initial energy amount, or strength, of the light. You can use the [[Set Ambient Light Enabled]] function to change the energy of a [[map|map's]] ambient light via [[script_syntax|scripting]]. Disabling the light with this function will set its energy to 0, and enabling it will set its energy to 1.| 
-|{{:wiki:ambient_occlusion.png?nolink|}}|Ambient Occlusion|Toggles ambient occlusion (specifically [[https://docs.godotengine.org/en/3.1/tutorials/3d/environment_and_post_processing.html#screen-space-ambient-occlusion-ssao|SSAO]]) for the map. Ambient occlusion darkens concave areas to give the scene a more realistic look.|+|{{:wiki:ambient_occlusion.png?nolink|}}|Ambient Occlusion|Toggles ambient occlusion (specifically [[https://docs.godotengine.org/en/3.1/tutorials/3d/environment_and_post_processing.html#screen-space-ambient-occlusion-ssao|SSAO]]) for the [[map]]. Ambient occlusion darkens concave areas to give the scene a more realistic look.|
  
 ~~NOTOC~~ ~~NOTOC~~
ambient_light.txt · Last modified: 2020/07/23 08:43 by justin