OpenGL Bunny

This is a program a partner and I wrote to render a bunny in OpenGL using three-point lighting. It is primarily written in C, with fragment and vertex shaders written in .frag and .vert files respectively.

How to run:

  1. On a computer with OpenGL and GL.h, download the linked .zip file.

  2. Extract .zip file and open a terminal window in the resulting folder.

  3. Type "make".

  4. Type "./bunny"

  5. Type 1, 2, or 3 to turn off each individual light, and 4 to reset the lighting.