Lightmaps now working again
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40148
This commit is contained in:
@@ -117,7 +117,7 @@ void KRInstance::render(KRCamera *pCamera, KRContext *pContext, const KRViewport
|
||||
}
|
||||
|
||||
if(cShadowBuffers == 0 && m_pLightMap && pCamera->bEnableLightMap && renderPass != RENDER_PASS_SHADOWMAP) {
|
||||
m_pContext->getTextureManager()->selectTexture(3, m_pLightMap, 0);
|
||||
m_pContext->getTextureManager()->selectTexture(3, m_pLightMap, 2048);
|
||||
}
|
||||
|
||||
pModel->render(pCamera, pContext, viewport, m_modelMatrix, lightDirection, pShadowMatrices, shadowDepthTextures, cShadowBuffers, m_pLightMap, renderPass);
|
||||
|
||||
Reference in New Issue
Block a user