Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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).
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started