summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-05-10 17:19:04 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-05-10 17:19:04 -0400
commit2deafe2a3a6f2393f63e8782ce2aa508f070e84f (patch)
tree4e70ae3fe34a34e953458be5e3bd522c58449b23
parent37151f8b33ba2dfa83d7f387492d203a5a13d1c6 (diff)
graphics: pbr: Set alpha cutoff of default material to 0.5.
This conforms to the glTF 2.0 specification.
-rw-r--r--chickadee/graphics/pbr.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chickadee/graphics/pbr.scm b/chickadee/graphics/pbr.scm
index 7d8689a..15b78b8 100644
--- a/chickadee/graphics/pbr.scm
+++ b/chickadee/graphics/pbr.scm
@@ -107,7 +107,7 @@
#:emissive-texture-enabled #f
#:emissive-texcoord 0
#:alpha-mode 0
- #:alpha-cutoff 1.0
+ #:alpha-cutoff 0.5
#:double-sided? #f))
(define-graphics-variable pbr-shader