1package com.jme3.light;
2
3import com.jme3.scene.Spatial;
4
5/**
6 * An ambient light adds a constant color to the scene.
7 * <p>
8 * Ambient lights are unaffected by the surface normal, and are constant
9 * regardless of the model's location. The material's ambient color is
10 * multiplied by the ambient light color to get the final ambient color of
11 * an object.
12 *
13 * @author Kirill Vainer
14 */
15public class AmbientLight extends Light {
16
17    @Override
18    public void computeLastDistance(Spatial owner) {
19    }
20
21    @Override
22    public Type getType() {
23        return Type.Ambient;
24    }
25
26}
27