Phong bunny and friends

by Ingemar Ragnemalm

This demo was created specifically to show how you can make a scene with different models (a bunny and Teddy) and different shaders. The big deal with this is really to make a shader active before trying to affect it, a simple thing which is very easy to do wrong.



Phong-bunny-and-friends.tar.gz

C++ version, just adding operator overloading: Pbaf-LinuxCpp.tar.gz
Note: On some Linux versions, you may need to add -lX11 and -lm on the command-line.


by Ingemar Ragnemalm 2012-2013