|
|
@ -5,7 +5,7 @@ import com.jme3.scene.Spatial; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* An ambient light adds a constant color to the scene. |
|
|
|
* An ambient light adds a constant color to the scene. |
|
|
|
* <p> |
|
|
|
* <p> |
|
|
|
* Ambient lights are uneffected by the surface normal, and are constant |
|
|
|
* Ambient lights are unaffected by the surface normal, and are constant |
|
|
|
* regardless of the model's location. The material's ambient color is |
|
|
|
* regardless of the model's location. The material's ambient color is |
|
|
|
* multiplied by the ambient light color to get the final ambient color of |
|
|
|
* multiplied by the ambient light color to get the final ambient color of |
|
|
|
* an object. |
|
|
|
* an object. |
|
|
|