PDA

View Full Version : New Instancing Example



rombust
03-02-2010, 02:59 PM
A new example for ClanLib 2.2 SVN

It shows how to use OpenGL instancing in a shader

http://esoteric.clanlib.org/~rombust/ReleaseImages/instancing.png

Note, my graphics card is limited to 256 teapots, I am not sure how to improve this at the moment.

Jason Schilling
07-20-2011, 01:10 PM
Where is the Sourcecode ?

rombust
07-20-2011, 07:40 PM
All examples can be found inside ClanLib's source code package

http://clanlib.org/wiki/Download

See http://clanlib.org/wiki/Examples