]> git.tdb.fi Git - libs/gl.git/commit
Make the cubemap demo more interesting
authorMikko Rasa <tdb@tdb.fi>
Mon, 13 Aug 2012 21:26:40 +0000 (00:26 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 13 Aug 2012 21:31:44 +0000 (00:31 +0300)
commite87e7a542c2b9fcde1676ba17387fcfb5180f196
tree509ab88ea4799b935e31a70635f30113c51d29e4
parent70b3d2475f229809b59d559ffaf4f95e8ea58f28
Make the cubemap demo more interesting

It now displays two different shapes, which have reflections through an
environment map.  The same environment map is used to render a skybox.

Also uses the new direction lookup functions to create the contents for
the cube map texture.
demos/cubemap.cpp