Add Physics Colliders debug view mode to display physical world shapes (solid)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user