Hi,
I am writing a deformer in glsl for a sop that comes into a geometry comp. For my deformer to work well, I need to pass in a tangent and/or a binormal. I get the normal in the glsl as ‘N’. Is there any way to get the other value?
You need to create the tangent attribute. You can use the Attribute Create SOP to do this. You can use a Phong MAT with normal mapping active and output the GLSL code from that to see how to use the N and T attributes to create the binormal.