|
@@ -1708,7 +1708,6 @@ export class GLTFLoader implements IGLTFLoader {
|
|
if (properties.baseColorFactor) {
|
|
if (properties.baseColorFactor) {
|
|
babylonMaterial.albedoColor = Color3.FromArray(properties.baseColorFactor);
|
|
babylonMaterial.albedoColor = Color3.FromArray(properties.baseColorFactor);
|
|
babylonMaterial.alpha = properties.baseColorFactor[3];
|
|
babylonMaterial.alpha = properties.baseColorFactor[3];
|
|
- babylonMaterial.albedoColor.toLinearSpaceToRef(babylonMaterial.albedoColor);
|
|
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
babylonMaterial.albedoColor = Color3.White();
|
|
babylonMaterial.albedoColor = Color3.White();
|