Hi guys,
I'm not sure if I'm calculating my tangents and binormals correctly or if my shader is wrong. Will you please give me some correct vectors for testing.
I'm using DirectX coordinates so the x-axis points right, the y-axis up, and the z-axis into the screen.
If I have a plane with normal 0,0,1 (pointing straight down the positive z-axis) what will the tangent and binormal be ? And also for a plane with normal -1,0,0 (pointing straight down the negative x-axis).
I got the calculations from http://www.rastertek.com/dx11tut20.html in case anyone is interested.
Thank you.