Category Archives: Processing


Write GLSL shaders to implement Phong and Gouraud shading and
make 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 by
two fixed spotlights.
c. Make the lights direction change over time and let the user adjust their parameters
(on/off, cutoff angle, concentration exponent) via GUI controls.

If you can do this i will provide the code i did up to this point. This is only 50% of the assignment hence why i am asking for 40$