aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-09-16 20:52:12 +0200
committerJulian T <julian@jtle.dk>2020-12-06 22:44:10 +0100
commit0f9e88ccf0510ab4d830529fa539ef6db715f988 (patch)
tree863b5f466d3e81e16e04aad56ef7a0d860a143f9 /app
parenta38e6014ea5441e9d29fcb3b5607cd94e4061cff (diff)
Added first draft of spectral lightningold_spectral
Diffstat (limited to 'app')
-rw-r--r--app/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/main.cpp b/app/main.cpp
index e53b8ad..16de1f6 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -24,12 +24,13 @@ int main(int argc, char *argv[])
Material blue(Color(0.3, 0.3, 1), 1);
+ Material green(Color(0.3, 1, 0.3), 0, 1, 50);
Material red(Color(1, 0.3, 0.3), 1);
Material white(Color(1, 1, 1), 1);
- Material em(Color(1, 1, 1), 0, 2);
+ Material em(Color(1, 1, 1), 0, 0, 0, 2);
scn.addShape(new Sphere(red, Vec3d(2, 6, -1), 1));
- scn.addShape(new Sphere(white, Vec3d(0, 4, -1), 1.3));
+ scn.addShape(new Sphere(green, Vec3d(0, 4, -1), 1.3));
scn.addShape(new Sphere(white, Vec3d(-2, 5, -2), 1.3));
scn.addShape(new Sphere(blue, Vec3d(0, 7, 0), 0.5));