new screen space lens flare effect

- this PR also improves bloom slightly


Note: for now this is not available on WebGL due to complications
in the bloom pass.
This commit is contained in:
Mathias Agopian
2021-05-04 17:21:01 -07:00
committed by Mathias Agopian
parent 812f0d577b
commit c0fe2d1c09
14 changed files with 473 additions and 80 deletions

View File

@@ -622,6 +622,7 @@ void SimpleViewer::updateUserInterface() {
ImGui::Checkbox("SSAO", &mSettings.view.ssao.enabled);
ImGui::Checkbox("Bloom", &mSettings.view.bloom.enabled);
ImGui::Checkbox("Flare", &mSettings.view.bloom.lensFlare);
if (ImGui::CollapsingHeader("SSAO Options")) {
auto& ssao = mSettings.view.ssao;