aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5469e13..7ba2b47 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -103,8 +103,10 @@ int main() {
.viewport_height = 2.f,
.proj_plane_distance = 1.f,
.spheres = {
- { { 0.f, 0.f, -1.f }, { { 0.7f, 0.7f, 0.3f }, }, 0.5f },
- { { 0.f, -100.5f, -1.f }, { { 0.8f, 0.8f, 0.f }, }, 100.f }
+ { { -1.f, 0.f, -1.f }, { { 0.8f, 0.8f, 0.8f }, 0.3, MATERIAL_TYPE::METAL }, 0.5f },
+ { { 0.f, 0.f, -1.f }, { { 0.7f, 0.3f, 0.3f }, MATERIAL_TYPE::LAMBERTIAN }, 0.5f },
+ { { 1.f, 0.f, -1.f }, { { 0.8f, 0.6f, 0.2f }, 1.0, MATERIAL_TYPE::METAL }, 0.5f },
+ { { 0.f, -100.5f, -1.f }, { { 0.8f, 0.8f, 0.f }, MATERIAL_TYPE::LAMBERTIAN }, 100.f }
},
.max_bounce = max_depth,
};