OpenGL shader

About the client

Canada

Est. budget $ 50
Posten on Oct 10, 2017
Project closed
Write code to parse the “.models” file and create an appropriate Model matrix in your application

Modify the shaders to perform per-fragment shading with the diffuse and specular color materials.

Modify the shaders to perform a Gooch shading effect (cool-to-warm shading; black outlines are necessary). Add a boolean uniform variable called doGoochShading to your application so that: when ‘5’ is pressed the diffuse/specular shading is shown when ‘6’ is pressed the Gooch shading effect is shown.

Modify the application to spin the model about a central point within itself. The speed_of_rotation and axis_of_rotation should be user defined variables in your code. The object should spin in place, even if it is displaced from the world origin.

document the work.

Attachments


//