summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/render/asset.scm6
-rw-r--r--chickadee/render/scene.scm8
2 files changed, 7 insertions, 7 deletions
diff --git a/chickadee/render/asset.scm b/chickadee/render/asset.scm
index 20034dd..28fee7d 100644
--- a/chickadee/render/asset.scm
+++ b/chickadee/render/asset.scm
@@ -292,7 +292,7 @@
(vector-ref textures (number-ref obj "index")))))
(normal-factor
(let ((v (or (array-ref/optional obj "normalFactor")
- #(0.0 0.0 0.0))))
+ #(1.0 1.0 1.0))))
(vec3 (vector-ref v 0) (vector-ref v 1) (vector-ref v 2))))
(normal-texture
(match (object-ref/optional obj "normalTexture")
@@ -300,7 +300,7 @@
(obj (vector-ref textures (number-ref obj "index")))))
(occlusion-factor
(let ((v (or (array-ref/optional obj "occlusionFactor")
- #(0.0 0.0 0.0))))
+ #(1.0 1.0 1.0))))
(vec3 (vector-ref v 0) (vector-ref v 1) (vector-ref v 2))))
(occlusion-texture
(match (object-ref/optional obj "occlusionTexture")
@@ -308,7 +308,7 @@
(obj (vector-ref textures (number-ref obj "index")))))
(emissive-factor
(let ((v (or (array-ref/optional obj "emissiveFactor")
- #(0.0 0.0 0.0))))
+ #(1.0 1.0 1.0))))
(vec3 (vector-ref v 0) (vector-ref v 1) (vector-ref v 2))))
(emissive-texture
(match (object-ref/optional obj "emissiveTexture")
diff --git a/chickadee/render/scene.scm b/chickadee/render/scene.scm
index db8b2bf..818957e 100644
--- a/chickadee/render/scene.scm
+++ b/chickadee/render/scene.scm
@@ -107,16 +107,16 @@
(define* (make-material #:key
(name "anonymous")
- (base-color-factor #v(0.0 0.0 0.0))
+ (base-color-factor #v(1.0 1.0 1.0))
(base-color-texture null-texture)
(metallic-factor 1.0)
(roughness-factor 1.0)
(metallic-roughness-texture null-texture)
- (normal-factor #v(0.0 0.0 0.0))
+ (normal-factor #v(1.0 1.0 1.0))
(normal-texture null-texture)
- (occlusion-factor #v(0.0 0.0 0.0))
+ (occlusion-factor #v(1.0 1.0 1.0))
(occlusion-texture null-texture)
- (emissive-factor #v(0.0 0.0 0.0))
+ (emissive-factor #v(1.0 1.0 1.0))
(emissive-texture null-texture)
(alpha-mode 'opaque)
(alpha-cutoff 0.5)