From 3f6d9a3a75e2615866f8ed2cd0015fabea6490b7 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Mon, 6 Sep 2021 22:55:51 +0200 Subject: Load gltf materials + diffuse and specular brdf --- include/scene.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/scene.hpp') diff --git a/include/scene.hpp b/include/scene.hpp index cb0ea88..82ffb3d 100644 --- a/include/scene.hpp +++ b/include/scene.hpp @@ -7,12 +7,12 @@ #include "camera.hpp" #include "bvh-node.hpp" +#include "vk-renderer.hpp" class scene { struct metadata { camera cam; - // uint32_t max_bounce = 50; uint32_t max_bounce = 3; uint32_t min_bounce = 1; @@ -32,7 +32,7 @@ class scene { // void random_scene(); public: - scene(camera cam, uint32_t width, uint32_t height); + scene(camera cam, uint32_t width, uint32_t height, vkrenderer &renderer); metadata meta; -- cgit v1.3