Add Physics Colliders debug view mode to display physical world shapes (solid)

This commit is contained in:
Wojtek Figat
2021-07-14 14:49:41 +02:00
parent 151b478a97
commit 04c6ecc963
13 changed files with 69 additions and 18 deletions

View File

@@ -175,6 +175,11 @@ void GBufferPass::Fill(RenderContext& renderContext, GPUTextureView* lightBuffer
}
}
}
if (renderContext.View.Mode == ViewMode::PhysicsColliders)
{
context->ResetRenderTarget();
return;
}
#endif
// Draw objects that can get decals