*Ambient()
Specifies the red, green, and blue values for the ambient light component of a material.
Syntax
*Ambient (Red, Green, Blue)
Application
MotionView and HyperView
Inputs
- Red
- A value from 0 to 1:
- 0
- No ambient light
- 1
- Highest intensity
- Green
- A value from 0 to 1:
- 0
- No ambient light
- 1
- Highest intensity
- Blue
- A value from 0 to 1:
- 0
- No ambient light
- 1
- Highest intensity
Context
*BeginMaterial()
*BeginPalette()
Preference Files
Example
*BeginPalette()
*BeginMaterial()
*Name("blue green")
*Emission(0, 0, 0)
*Ambient(0, 0.46118, 0.6)
*Diffuse(0, 0.76863, 1)
*Specular(0, 0, 0)
*Shininess(0)
*Alpha(1)
*EndMaterial()
*EndPalette()