Question: The following OpenGL program defines a light source: [4 ma GLfloat light_position[] = {1.0,1.0,0.0,0.0}; glLightfv(GL_LIGHT0, GL_POSITION, light_position); a) What kind of light source is specified?

The following OpenGL program defines a light source: [4 ma GLfloat light_position[] = {1.0,1.0,0.0,0.0}; glLightfv(GL_LIGHT0, GL_POSITION, light_position); a) What kind of light source is specified? b) If transformations are applied to the light source, will the model-view matrix or projection matrix be used and why
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
