Re: calculate tangents – bump mapping

Forums > Jitter > calculate tangents – bump mapping
August 2, 2010 | 6:12 pm

Thanks for your post robtherich
However the patch is not working yet, it shows the right lighting calculations and the right color, but the bumps appear chaotic, and change at every frame (kind of nice but it is not what I want). I checked the shader code and it looks right…maybe defines the tangents in an inconsistent way?

Another question is, why do you write "state", instead of "value" when defining the parameter tangent?

see attached patch