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:
@@ -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);
|
||||
};
|
||||
Reference in New Issue
Block a user