1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 06:52:34 +02:00

Disable depth test for post-process pass

This commit is contained in:
Daniel Evans 2018-08-19 10:51:04 +01:00
parent 34b8976856
commit 14255e5fe1

View File

@ -437,6 +437,7 @@ void GameRenderer::renderPostProcess() {
wdp.start = 0;
wdp.count = ssRectGeom.getCount();
wdp.textures = {fbTextures[0]};
wdp.depthMode = DepthMode::OFF;
renderer->drawArrays(glm::mat4(1.0f), &ssRectDraw, wdp);
}