summaryrefslogtreecommitdiff
path: root/chickadee/graphics/model.scm
diff options
context:
space:
mode:
Diffstat (limited to 'chickadee/graphics/model.scm')
-rw-r--r--chickadee/graphics/model.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/chickadee/graphics/model.scm b/chickadee/graphics/model.scm
index 930687a..8636652 100644
--- a/chickadee/graphics/model.scm
+++ b/chickadee/graphics/model.scm
@@ -140,7 +140,10 @@
(shader-apply/phong (primitive-vertex-array primitive)
(primitive-material primitive)
(render-state-world-model-matrix state)
- (render-state-view-matrix state)))
+ (render-state-view-matrix state)
+ (render-state-camera-position state)
+ (render-state-lights state)
+ (render-state-ambient-light-color state)))
(define (draw-primitive/pbr primitive state)
(shader-apply/pbr (primitive-vertex-array primitive)