This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
ambient_light [2017/08/15 08:29] – justin | ambient_light [2020/02/15 09:16] – 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' | + | **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' |
{{: | {{: | ||
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. | ||
^Settings^Description^ | ^Settings^Description^ | ||
- | |Enabled|Determines the initial state of the light. You can use the [[Set Ambient Light Enabled]] function to change the state of a map's ambient light via scripting.| | ||
|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.| | |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.| | ||
+ | |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.| | ||
+ | |Ambient Occlusion|| | ||
~~NOTOC~~ | ~~NOTOC~~ |