summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-05-14 21:27:38 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-05-14 21:32:11 -0400
commit955471b2ce3d7f393c6af11ff5de5a6965ad5200 (patch)
treea6f52ed00d293340943d4aff375fcd21927d105f
parent7f3a6267b078cd5b1c8ed4be859cc8c50718c70d (diff)
graphics: model: Change default OBJ model color factors.
-rw-r--r--chickadee/graphics/model.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/chickadee/graphics/model.scm b/chickadee/graphics/model.scm
index 37629f3..930687a 100644
--- a/chickadee/graphics/model.scm
+++ b/chickadee/graphics/model.scm
@@ -395,13 +395,13 @@
;; Begin new material
(maybe-add-material)
(loop `((name . ,new-name)
- (ambient . ,(vec3 0.0 0.0 0.0))
+ (ambient . ,(vec3 1.0 1.0 1.0))
(ambient-map . ,null-texture)
(use-ambient-map? . #f)
- (diffuse . ,(vec3 0.0 0.0 0.0))
+ (diffuse . ,(vec3 1.0 1.0 1.0))
(diffuse-map . ,null-texture)
(use-diffuse-map? . #f)
- (specular . ,(vec3 0.0 0.0 0.0))
+ (specular . ,(vec3 1.0 1.0 1.0))
(specular-map . ,null-texture)
(use-specular-map? . #f)
(shininess . 1.0)