+ | Imgui denoise

This commit is contained in:
TheRedShip
2025-02-08 23:38:49 +01:00
parent 39196a00ff
commit ee95d9954a
9 changed files with 88 additions and 28 deletions

View File

@ -33,6 +33,11 @@ Scene::Scene(std::string &name)
_gpu_debug.triangle_treshold = 1;
_gpu_debug.box_treshold = 1;
_gpu_denoise.enabled = 0;
_gpu_denoise.pass = 0;
_gpu_denoise.c_phi = 0.1f;
_gpu_denoise.p_phi = 0.1f;
_gpu_denoise.n_phi = 0.1f;
if (!file.is_open())
{
@ -364,6 +369,11 @@ GPUDebug &Scene::getDebug()
return (_gpu_debug);
}
GPUDenoise &Scene::getDenoise()
{
return (_gpu_denoise);
}
std::vector<GPUBvhData> &Scene::getBvhData()
{
return (_gpu_bvh_data);