summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/graphics/model.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/chickadee/graphics/model.scm b/chickadee/graphics/model.scm
index 2b500c7..cdb8119 100644
--- a/chickadee/graphics/model.scm
+++ b/chickadee/graphics/model.scm
@@ -33,6 +33,7 @@
#:use-module (chickadee graphics depth)
#:use-module (chickadee graphics engine)
#:use-module (chickadee graphics light)
+ #:use-module (chickadee graphics multisample)
#:use-module (chickadee graphics pbr)
#:use-module (chickadee graphics phong)
#:use-module (chickadee graphics shader)
@@ -223,7 +224,8 @@
(define* (draw-model model model-matrix view-matrix camera-position #:key
(lights '())
(ambient-light-color %default-ambient-light-color))
- (with-graphics-state ((g:depth-test %depth-test))
+ (with-graphics-state ((g:depth-test %depth-test)
+ (g:multisample? #t))
(let ((state (model-render-state model)))
(render-state-reset! state)
(render-state-view-matrix-mult! state view-matrix)