Hi, I had created pixel shader routine. It requires the tangent vector appears in the texture coordinate of a 3D object, i.e. it will be a 3D texture coordinate. In DirectX SDK, there is a function called D3DXComputeTangent() which is able to calculate the tagent vectors of each vertex.
Is there anyway in DBpro can achieve that? Will CONVERT OBJECT FVF able to do this?
If I had no choice, then I had to get my hand dirty to code a DLL for this. I wanna avoid this if possible, as it involves a lot of conversion between DBpro's object and mesh used in DirectX SDK.
Any ideas? Thanks!
Bad Nose Entertainment - Where games are forged from the flames of talent and passion.
http://www.badnose.com/