diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-09-06 22:55:51 +0200 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-09-06 22:55:51 +0200 |
| commit | 3f6d9a3a75e2615866f8ed2cd0015fabea6490b7 (patch) | |
| tree | 077e568cca0a8823f0b361f570a2d76b43011aac /include/scene.hpp | |
| parent | bf512216323f3df55627421bb0187ed364d58340 (diff) | |
Load gltf materials + diffuse and specular brdf
Diffstat (limited to 'include/scene.hpp')
| -rw-r--r-- | include/scene.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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;
|
