default texture alpha is zero to reveal model_color
This commit is contained in:
parent
402def667f
commit
7e3bfeb59e
@ -78,7 +78,7 @@ impl std::default::Default for FaceDescription{
|
|||||||
Self{
|
Self{
|
||||||
texture:None,
|
texture:None,
|
||||||
transform:glam::Affine2::IDENTITY,
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user