summaryrefslogtreecommitdiffstats
path: root/AssetLoader/interface
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-05-04 05:58:42 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-05-04 05:58:42 +0000
commitf6a1e0d539a8395b1e7bcb6b508c34dde52c0ad2 (patch)
tree21abc1e744dc7d8ffd006358e37c966c37f20945 /AssetLoader/interface
parentGLTF Loader: improved pbr workflow indication (diff)
downloadDiligentTools-f6a1e0d539a8395b1e7bcb6b508c34dde52c0ad2.tar.gz
DiligentTools-f6a1e0d539a8395b1e7bcb6b508c34dde52c0ad2.zip
GLTF loader: fixed loading specular factor
Diffstat (limited to 'AssetLoader/interface')
-rw-r--r--AssetLoader/interface/GLTFLoader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AssetLoader/interface/GLTFLoader.h b/AssetLoader/interface/GLTFLoader.h
index a02face..f7d9de9 100644
--- a/AssetLoader/interface/GLTFLoader.h
+++ b/AssetLoader/interface/GLTFLoader.h
@@ -81,8 +81,8 @@ struct Material
{
RefCntAutoPtr<ITexture> pSpecularGlossinessTexture;
RefCntAutoPtr<ITexture> pDiffuseTexture;
- float4 DiffuseFactor = float4(1.0f, 1.0f, 1.0f, 1.0f);
- float3 SpecularFactor = float3(0.0f, 0.0f, 0.0f);
+ float4 DiffuseFactor = float4(1.0f, 1.0f, 1.0f, 1.0f);
+ float3 SpecularFactor = float3(1.0f, 1.0f, 1.0f);
};
Extension extension;