Fixing typos and adding more details

This commit is contained in:
mklefrancois 2020-04-06 11:03:18 +02:00
parent 90bebea66b
commit 21fc655237
5 changed files with 12 additions and 4 deletions

View file

@ -186,6 +186,10 @@ At the begining of `HelloVulkan::raytrace`, call
The application will now antialias the image when ray tracing is enabled.
Adding `resetFrame()` in `HelloVulkan::onResize()` will also take care of clearing the buffer while resizing the window.
## Resetting Frame on UI Change
The frame number should also be reset when any parts of the scene change, such as the light direction or the background color. In `renderUI()` in `main.cpp`, check for UI changes and reset the frame number when they happen: