Assignment 11 -- Due 12/06/06

Jonathan Hall


Problem: Experiment with shaders


Problem 1: A fragment shader. Before and after values changed. (Note: this is the optional extention)

Click for larger Click for larger

(Click for full view)


Problem 2: A vertex shader after some time.

Click for larger

(Click for full view)


Extra Credit: A vertex and fragment shader that performs object space normal mapping on a low res dragon!

Click for larger Click for larger
The dragon on the left is low res, ~10k vertices, with my shader turned off. The dragon on the right is after the low res dragon is normal mapped with my shader. The normal map was generated from a dragon with >500,000 vertices by nVidia's MeLODy. The shader applys Lambertian shading to the low res model using the normals of the high res. Also this shader uses object space normals for ease of computation at cost of speed.

(Click for full view)