Make possible to disable manual depth test in opacity mode

This commit is contained in:
Malin E
2023-03-01 17:31:48 +01:00
parent bc647e8f23
commit 5a6ac848f9

View File

@@ -816,7 +816,7 @@ void RenderableModel::render(const RenderData& data, RendererTasks&) {
// Use a manuel depth test to make the models aware of the rest of the envierment
_program->setUniform(
_uniformCache.performManualDepthTest,
true
_enableDepthTest
);
// Bind the G-buffer depth texture for a manual depth test towards the rest