Answered step by step
Verified Expert Solution
Link Copied!

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).image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Successful Keyword Searching Initiating Research On Popular Topics Using Electronic Databases

Authors: Randall MacDonald, Susan MacDonald

1st Edition

0313306761, 978-0313306761

More Books

Students also viewed these Databases questions

Question

Advance warning and an explanation for the layoff.

Answered: 1 week ago