Processing, UndergraduateProcessingWrite GLSL shaders to implement Phong and Gouraud shading andmake the shading method selectable by the user. a. Modify your…