From 7e3bfeb59ebc1f8833613c359b925475395a1f8b Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 29 Sep 2023 01:58:44 -0700 Subject: [PATCH] default texture alpha is zero to reveal model_color --- src/primitives.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/primitives.rs b/src/primitives.rs index 790117d5..b9af2252 100644 --- a/src/primitives.rs +++ b/src/primitives.rs @@ -78,7 +78,7 @@ impl std::default::Default for FaceDescription{ Self{ texture:None, transform:glam::Affine2::IDENTITY, - color:glam::Vec4::ONE, + color:glam::vec4(1.0,1.0,1.0,0.0),//zero alpha to hide the default texture } } }