Added new blend types, added lighting to first soviet mission.

This commit is contained in:
Justin Marshall
2020-07-12 09:01:36 -07:00
parent 52869ac0e9
commit a33f7bfa25
4 changed files with 31 additions and 5 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ void LightManager::RenderLights(void) {
GL_SetRenderTexture(NULL);
GL_EnableBlend(GL_BLEND_MULT);
GL_EnableBlend(GL_BLEND_ADD);
GL_RenderImage(hdrLightBufferTexture, 0, 0, ScreenWidth, ScreenHeight);
GL_EnableBlend(GL_BLEND_NONE);
}