jlukas
06-25-2004, 01:29 AM
Hi @all,
I'm not sure if this is the right forum, but it seems to be a mathematical problem.
I need the tangent in a vertex shader. But I can the normal and the vertex position only. How can I calculate the tangent at that point?
I think that OpenGL SL does not provide a build-in function to deliver the tangent, or?
Thanx
jlukas
I'm not sure if this is the right forum, but it seems to be a mathematical problem.
I need the tangent in a vertex shader. But I can the normal and the vertex position only. How can I calculate the tangent at that point?
I think that OpenGL SL does not provide a build-in function to deliver the tangent, or?
Thanx
jlukas