Created
October 18, 2012 13:24
-
-
Save stoyannk/3911790 to your computer and use it in GitHub Desktop.
Sample conretizer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
concretizer TBN ComputeTBN(interface context) needs TANGENT, BINORMAL, NORMAL_T | |
{ | |
return float3x3(context.tangent, context.binormal, context.normal_t); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment