summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/graphics/model.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/chickadee/graphics/model.scm b/chickadee/graphics/model.scm
index 3024673..7abd352 100644
--- a/chickadee/graphics/model.scm
+++ b/chickadee/graphics/model.scm
@@ -942,9 +942,8 @@
(indices (match (number-ref/optional obj "indices")
(#f #f)
(n (vector-ref accessors n))))
- ;; TODO: Set a default material when none is given.
(material (match (number-ref/optional obj "material")
- (#f #f)
+ (#f default-pbr-material)
(n (vector-ref materials n))))
(mode (match (or (number-ref/optional obj "mode") 4)
(0 'points)