summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/graphics/model.scm12
1 files changed, 8 insertions, 4 deletions
diff --git a/chickadee/graphics/model.scm b/chickadee/graphics/model.scm
index 4aeb862..37629f3 100644
--- a/chickadee/graphics/model.scm
+++ b/chickadee/graphics/model.scm
@@ -353,7 +353,8 @@
'file-name)))
(texture (load-image file
#:min-filter 'linear
- #:mag-filter 'linear)))
+ #:mag-filter 'linear
+ #:flip? #f)))
(loop (cons* (cons 'ambient-map texture)
(cons 'use-ambient-map? #t)
opts))))
@@ -363,7 +364,8 @@
'file-name)))
(texture (load-image file
#:min-filter 'linear
- #:mag-filter 'linear)))
+ #:mag-filter 'linear
+ #:flip? #f)))
(loop (cons* (cons 'diffuse-map texture)
(cons 'use-diffuse-map? #t)
opts))))
@@ -373,7 +375,8 @@
'file-name)))
(texture (load-image file
#:min-filter 'linear
- #:mag-filter 'linear)))
+ #:mag-filter 'linear
+ #:flip? #f)))
(loop (cons* (cons 'specular-map texture)
(cons 'use-specular-map? #t)
opts))))
@@ -383,7 +386,8 @@
'file-name)))
(texture (load-image file
#:min-filter 'linear
- #:mag-filter 'linear)))
+ #:mag-filter 'linear
+ #:flip? #f)))
(loop (cons* (cons 'bump-map texture)
(cons 'use-bump-map? #t)
opts))))