diff options
author | David Thompson <dthompson2@worcester.edu> | 2021-08-06 08:57:53 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2021-08-06 08:57:53 -0400 |
commit | 7ec8c11835e99279ca998e64f09aa911b9e0cfa1 (patch) | |
tree | b6645b33ad32880bdf97904614e566ba3fe4646f | |
parent | bb6184dbba414ea475bd97c737b6d81510257ddf (diff) |
model: Add mipmapping support to glTF models.
-rw-r--r-- | chickadee/graphics/model.scm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chickadee/graphics/model.scm b/chickadee/graphics/model.scm index 6837ddb..ca14e63 100644 --- a/chickadee/graphics/model.scm +++ b/chickadee/graphics/model.scm @@ -889,11 +889,10 @@ (match n (9728 'nearest) ((or #f 9729) 'linear) - ;; TODO: Support mip-mapping - ;; (9984 'nearest-mipmap-nearest) - ;; (9985 'linear-mipmap-nearest) - ;; (9986 'nearest-mipmap-linear) - ;; (9987 'linear-mipmap-linear) + (9984 'nearest-mipmap-nearest) + (9985 'linear-mipmap-nearest) + (9986 'nearest-mipmap-linear) + (9987 'linear-mipmap-linear) (_ 'linear))) (define (texture-wrap n) (match n |