Tangent Bumpmapping using nVidia's Cg
It has been a while since my last update, the game seems to be taking up most
of my free time at the moment, but is progressing nicely.
This project shows how to use Cg to implement Tangent Space Bump mapping on
models.
The current version only handles Quads, but with a little sweat, you can easily
Generate the right matrices for Triangles also.
The original c++ version done by Søren Dreijer (Halloko) can be found at
http://www.blacksmith-studios.dk. Thanx for all your help dude :)
This Code also uses the VectorGeometry.pas unit from
glscene.org
Please note: I have included all the relevant units, and dll's, but its always
a good idea to look at the originating sites to get the latest versions
|