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:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user