What components make up a light source in OpenGL?
Answers
Answered by
4
Explanation:
The OpenGL lighting model considers the lighting to be divided into four independent components: emissive, ambient, diffuse, and specular. All four components are computed independently and then added together.
Answered by
0
What components make up a light source in OpenGL?
- The OpenGL lighting model divides illumination into four distinct components: emissive, ambient, diffuse, and specular lighting. Each of the four components is calculated separately and then combined together.
- GL AMBIENT: (0.0, 0.0, 0.0, 1.0)
- GL SPOT DIRECTION: (0.0, 0.0, -1.0)
- GL POSITION: (0.0, 0.0, 1.0, 0.0)
- OpenGL simulates light and illumination as though it were made up of red, green, and blue components.
Similar questions