diff options
author | M.G. Kishalmi <lmg@kishalmi.net> | 2011-02-14 21:18:46 +0300 |
---|---|---|
committer | M.G. Kishalmi <lmg@kishalmi.net> | 2011-02-14 21:18:46 +0300 |
commit | 20553d4064e790f42fe707b8b6c5e6451e983eb7 (patch) | |
tree | 8453025eb4106b26ed323a16da222153f117ab81 /source/blender/render/extern | |
parent | 8b7482892b2ecb456be60b42fe1625156d19e954 (diff) |
This commit will switch blender to use tangent space generated within
the two files mikktspace.h and mikktspace.c. These are standalone files
which can be redistributed into any other application and regenerate the
same tangent spaces. The implementation is independent of the ordering
of faces and the vertex ordering of faces.
Diffstat (limited to 'source/blender/render/extern')
-rw-r--r-- | source/blender/render/extern/include/RE_shader_ext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/extern/include/RE_shader_ext.h b/source/blender/render/extern/include/RE_shader_ext.h index 2b451810e37..7825d2e4647 100644 --- a/source/blender/render/extern/include/RE_shader_ext.h +++ b/source/blender/render/extern/include/RE_shader_ext.h @@ -136,7 +136,7 @@ typedef struct ShadeInput /* texture coordinates */ float lo[3], gl[3], ref[3], orn[3], winco[3], sticky[3], vcol[4]; float refcol[4], displace[3]; - float strandco, tang[3], nmaptang[3], stress, winspeed[4]; + float strandco, tang[3], nmapnorm[3], nmaptang[4], stress, winspeed[4]; float duplilo[3], dupliuv[3]; ShadeInputUV uv[8]; /* 8 = MAX_MTFACE */ |