Showing the changes to interface/src/renderer/DeferredLightingEffect.cpp (1 of 1 file). Show all
Unified · Split
| @@ -189,6 +189,7 @@ void DeferredLightingEffect::render() { · 188 unmodified lines | ||
| 189 | 189 | |
| 190 | 190 | // now transfer the lit region to the primary fbo |
| 191 | 191 | glEnable(GL_BLEND); |
| 192 | + glColorMask(true, true, true, false); | |
| 192 | 193 | |
| 193 | 194 | primaryFBO->bind(); |
| 194 | 195 | |
| @@ -200,6 +201,7 @@ void DeferredLightingEffect::render() { · 5 unmodified lines | ||
| 200 | 201 | glBindTexture(GL_TEXTURE_2D, 0); |
| 201 | 202 | glDisable(GL_TEXTURE_2D); |
| 202 | 203 | |
| 204 | + glColorMask(true, true, true, true); | |
| 203 | 205 | glEnable(GL_LIGHTING); |
| 204 | 206 | glEnable(GL_COLOR_MATERIAL); |
| 205 | 207 | glEnable(GL_DEPTH_TEST); |