<p>Traditional rendering solutions do not do account for secondary light bounces (called indirect light). Even with strategically placed fill lights you still have areas where none of the direct light hits.</p>

<p>Ambient light tries to solve this problem by shining by a constant amount in all directions. In practice this means that light position or surface normal has no meaning, one just adds some of the shaders color multiplied by ambient light color to the shading result.</p>

<p>Ambient light has a tendency to look artificial when overused. But the opposite problem is that surfaces look like they are on outer space. Ambient light also makes the difference between dark materials and light materials more apparent.</p>

<p><a href="https://i.sstatic.net/eQWU1.gif" rel="noreferrer"><img src="https://i.sstatic.net/eQWU1.gif" alt="Ambient light"></a></p>

<p><strong>Image 1:</strong> Image without ambient light (left) looks like it was shot in space. Image with ambient (right) looks more natural, although possibly a bit flat if overused.</p>

<p>The real problem is that ambient light does not really exist. Even if youd argue that its useful model, it certainly is not uniform. Its just a quick fix. Therefore all kinds of tricks, like ambient occlusion, have been proposed to enhance the quality of ambient light.</p>

CC BY-SA 3.0
2015-08-31T04:42:14.127Z
2015-08-31T11:31:51.543Z
2015-08-31T11:31:51.543Z
joojaa
<p>In this context, <code>Ambient lighting</code> refers to a very crude approximation of indirect lighting.</p>

<p>Direct lighting from a direct source is relatively simple to evaluate and model, even in real-time. But the light that is not absorbed will bounce all over the place and cause indirect lighting. This is why for example a lamp will a lampshade will light a whole room and not only the narrow area underneath.</p>

<p>But modeling indirect lighting is difficult and costly. So an approximation is to consider that lighting to be <strong>constant and independent from position</strong>: that's ambient lighting.</p>

<p>In the case of outdoor scene, ambient lighting would represent the blue light coming from the sky dome, as opposed to the orange direct light coming from the Sun.</p>

CC BY-SA 3.0
2015-08-31T08:09:59.047Z
Technically light from the sun is white.
ratchet freak
CC BY-SA 3.0
2015-08-31T09:17:15.757Z
@ratchetfreak: True; there's something to say about temperature, but the topic is unrelated to the original question.
Julien Guertault
CC BY-SA 3.0
2015-10-20T15:23:56.237Z
@ratchetfreak only if you're in space, which you're typically not. Our glorious atmosphere makes it appear yellowish (by scattering the blue).
geometrian
CC BY-SA 3.0
2015-08-31T04:28:42.567Z
2015-08-31T04:28:42.567Z
Julien Guertault
<p>Wikipedia <a href="https://en.wikipedia.org/wiki/Shading#Ambient_lighting" rel="nofollow">says</a>: </p>

<blockquote>
  <p>An ambient light source represents a fixed-intensity and fixed-color light source that affects all objects in the scene equally.</p>
</blockquote>

<p>By saying "affects all objects equally" they mean all objects get the same amount of light? So if you have three houses in your scene, you would need to calculate a specific position for the ambient lighting source, in order that every object gets the same amount of light? If not, you would not have an ambient light source? </p>

<p>What is the difference between "normal" lighting from the sun and ambient lighting?</p>

CC BY-SA 3.0
2015-10-20T15:21:08.137Z
In a word: evil.
geometrian
<lighting>
What is ambient lighting?
Joey
# What is ambient lighting?

(Asked by: username_0 on 2015-08-31)

Wikipedia [says](https://en.wikipedia.org/wiki/Shading#Ambient_lighting):

> An ambient light source represents a fixed-intensity and fixed-color light source that affects all objects in the scene equally.

By saying "affects all objects equally" they mean all objects get the same amount of light? So if you have three houses in your scene, you would need to calculate a specific position for the ambient lighting source, in order that every object gets the same amount of light? If not, you would not have an ambient light source?

What is the difference between "normal" lighting from the sun and ambient lighting?

**Tags:** lighting

> **Comments:**
> **username_1**: In a word: evil.  

---

## 2 answers

### Answer by username_3 on 2015-08-31. Score: 14 | Accepted answer

In this context, `Ambient lighting` refers to a very crude approximation of indirect lighting.

Direct lighting from a direct source is relatively simple to evaluate and model, even in real-time. But the light that is not absorbed will bounce all over the place and cause indirect lighting. This is why for example a lamp will a lampshade will light a whole room and not only the narrow area underneath.

But modeling indirect lighting is difficult and costly. So an approximation is to consider that lighting to be **constant and independent from position**: that's ambient lighting.

In the case of outdoor scene, ambient lighting would represent the blue light coming from the sky dome, as opposed to the orange direct light coming from the Sun.

> **Comments:**
> **username_4**: Technically light from the sun is white.  
> **username_3**: @username_4: True; there's something to say about temperature, but the topic is unrelated to the original question.  
> **username_1**: @username_4 only if you're in space, which you're typically not. Our glorious atmosphere makes it appear yellowish (by scattering the blue).  

---

### Answer by username_2 on 2015-08-31. Score: 16

Traditional rendering solutions do not do account for secondary light bounces (called indirect light). Even with strategically placed fill lights you still have areas where none of the direct light hits.

Ambient light tries to solve this problem by shining by a constant amount in all directions. In practice this means that light position or surface normal has no meaning, one just adds some of the shaders color multiplied by ambient light color to the shading result.

Ambient light has a tendency to look artificial when overused. But the opposite problem is that surfaces look like they are on outer space. Ambient light also makes the difference between dark materials and light materials more apparent.

[![Ambient light](https://i.sstatic.net/eQWU1.gif)](https://i.sstatic.net/eQWU1.gif)

**Image 1:** Image without ambient light (left) looks like it was shot in space. Image with ambient (right) looks more natural, although possibly a bit flat if overused.

The real problem is that ambient light does not really exist. Even if youd argue that its useful model, it certainly is not uniform. Its just a quick fix. Therefore all kinds of tricks, like ambient occlusion, have been proposed to enhance the quality of ambient light.


---

