Ray tracing samples can now also use the UI overlay
General cleanup, changed default settings.overlay value
This commit is contained in:
parent
d0f0e1698e
commit
3b1ff1eece
73 changed files with 129 additions and 87 deletions
|
|
@ -43,7 +43,6 @@ public:
|
|||
VulkanExample() : VulkanRaytracingSample()
|
||||
{
|
||||
title = "Ray traced shadows";
|
||||
settings.overlay = false;
|
||||
timerSpeed *= 0.25f;
|
||||
camera.type = Camera::CameraType::lookat;
|
||||
camera.setPerspective(60.0f, (float)width / (float)height, 0.1f, 512.0f);
|
||||
|
|
@ -514,6 +513,8 @@ public:
|
|||
VK_IMAGE_LAYOUT_GENERAL,
|
||||
subresourceRange);
|
||||
|
||||
drawUI(drawCmdBuffers[i], frameBuffers[i]);
|
||||
|
||||
VK_CHECK_RESULT(vkEndCommandBuffer(drawCmdBuffers[i]));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue