Processing

Write GLSL shaders to implement Phong and Gouraud shading andmake the shading method selectable by the user. a. Modify your Gouraud and Phong shaders to cater for spot lighting.b. Construct a scene consisting of an object at the centre, illuminated from the top bytwo fixed spotlights.c. Make the lights direction change over time and let […]