diff options
author | SmileTheory <SmileTheory@gmail.com> | 2013-11-12 19:21:51 -0800 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-06-17 17:43:36 +0100 |
commit | 38af27b32b1302fd5ddd83d992fc8ec73209b3ad (patch) | |
tree | 0af9a9e571ffd1120d4603bd8d09f092875786e3 /src/renderergl2/tr_shade.c | |
parent | 1efea34f7dc0afa21c1ddaa62705c8f4e6b76d9e (diff) |
OpenGL2: Calculate bitangent in shader, and store normal/tangent as normalized byte arrays.
Diffstat (limited to 'src/renderergl2/tr_shade.c')
-rw-r--r-- | src/renderergl2/tr_shade.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/renderergl2/tr_shade.c b/src/renderergl2/tr_shade.c index a23ae119..95516e9d 100644 --- a/src/renderergl2/tr_shade.c +++ b/src/renderergl2/tr_shade.c @@ -1028,7 +1028,6 @@ static unsigned int RB_CalcShaderVertexAttribs( shaderCommands_t *input ) vertexAttribs |= ATTR_NORMAL2; #ifdef USE_VERT_TANGENT_SPACE vertexAttribs |= ATTR_TANGENT2; - vertexAttribs |= ATTR_BITANGENT2; #endif } } |