Question: In this assignment, you are required to implement shading programs (vertex shader & fragment shader) under Shader Maker (a simple, cross-platform GLSL editor). 2. 3.

In this assignment, you are required to implement shading programs (vertex shader & fragment shader) under Shader Maker (a simple, cross-platform GLSL editor).

In this assignment, you are required to implement shading programs (vertex shader

2. 3. 4. Write a vertex shader and a fragment shader to implement the Gouraud shading method (compute the empirical illumination model on vertices and then interpolate colors). (4pt) Write a vertex shader and a fragment shader to implement the Phong shading method (interpolate normals for a fragment and compute the empirical illumination model on each point). (4pt) Modify your Phong shader to compute the specular component with the Blinn variation (N H) and compare the result with your previous Phong shader (compute specular by V.R). Please use "Sphere" as test model in your comparison result. In your report, show the comparison result and analyze the difference with respect to the shininess value. (4pt) 2. 3. 4. Write a vertex shader and a fragment shader to implement the Gouraud shading method (compute the empirical illumination model on vertices and then interpolate colors). (4pt) Write a vertex shader and a fragment shader to implement the Phong shading method (interpolate normals for a fragment and compute the empirical illumination model on each point). (4pt) Modify your Phong shader to compute the specular component with the Blinn variation (N H) and compare the result with your previous Phong shader (compute specular by V.R). Please use "Sphere" as test model in your comparison result. In your report, show the comparison result and analyze the difference with respect to the shininess value. (4pt)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!