1. The improvement from Gouraud to Phong shading should be even more apparent here, when the light is being moved around. 2. (PROJECT) Modify Program 7.2 so that it incorporates TWO positional lights...

1. The improvement from Gouraud to Phong shading should be even more apparent here, when the light is being moved around. 2.
(PROJECT)
Modify Program 7.2 so that it incorporates TWO positional lights placed in different locations. The fragment shader will need to blend the

diffuse and specular contributions of each of the lights. Try using a weighted sum, similar to the one shown in Section 7.6. You can also try simply adding them and clamping the result so it doesn’t exceed the maximum light value.




May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here