16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 08:09:19 +02:00

fix gtao glitches; add timer to measure animation phase

This commit is contained in:
Wls50
2025-11-24 21:22:19 +01:00
committed by Hirek
parent 0820873a45
commit a22f449ecd
11 changed files with 71 additions and 21 deletions

View File

@@ -1,15 +1,18 @@
#pragma once
#include <memory>
#include <nvrhi/nvrhi.h>
#include <glm/glm.hpp>
#include <memory>
#include <nvrhi/nvrhi.h>
#include "XeGTAO.h"
struct NvSsao {
NvSsao(class NvRenderer* renderer);
void Init();
XeGTAO::GTAOSettings settings{};
class NvRendererBackend* m_backend;
struct NvGbuffer* m_gbuffer;
@@ -52,4 +55,6 @@ struct NvSsao {
void Render(nvrhi::ICommandList* command_list, const glm::mat4& projection,
size_t frame_index);
void OnGui(bool open_now);
};