Ray tracing samples can now also use the UI overlay

General cleanup, changed default settings.overlay value
This commit is contained in:
Sascha Willems 2021-08-28 12:59:10 +02:00
parent d0f0e1698e
commit 3b1ff1eece
73 changed files with 129 additions and 87 deletions

View file

@ -88,7 +88,6 @@ public:
camera.setRotation(glm::vec3(-2.5f, 0.0f, 0.0f));
camera.setRotationSpeed(0.5f);
camera.setPerspective(60.0f, (float)width / (float)height, 0.1f, 256.0f);
settings.overlay = true;
// The scene shader uses a clipping plane, so this feature has to be enabled
enabledFeatures.shaderClipDistance = VK_TRUE;
}