patch by Charlie, related to recent changes of multi-uv/lightmap generation. This fix makes it possible to use lightmaps in the game engine.

This commit is contained in:
Erwin Coumans
2007-01-07 04:39:39 +00:00
parent cf4d627897
commit 4a70681ce2
11 changed files with 200 additions and 30 deletions

View File

@@ -1243,6 +1243,8 @@ void RAS_OpenGLRasterizer::TexCoord(const RAS_TexVert &tv, int enabled)
break;
case RAS_TEXTANGENT:
bgl::blMultiTexCoord4fvARB(GL_TEXTURE0_ARB+unit, tv.getTangent());
case RAS_TEXCO_UV2:
bgl::blMultiTexCoord2fvARB(GL_TEXTURE0_ARB+unit, tv.getUV2());
}
}
}