diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-05-04 05:58:42 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-05-04 05:58:42 +0000 |
| commit | f6a1e0d539a8395b1e7bcb6b508c34dde52c0ad2 (patch) | |
| tree | 21abc1e744dc7d8ffd006358e37c966c37f20945 /AssetLoader/interface | |
| parent | GLTF Loader: improved pbr workflow indication (diff) | |
| download | DiligentTools-f6a1e0d539a8395b1e7bcb6b508c34dde52c0ad2.tar.gz DiligentTools-f6a1e0d539a8395b1e7bcb6b508c34dde52c0ad2.zip | |
GLTF loader: fixed loading specular factor
Diffstat (limited to 'AssetLoader/interface')
| -rw-r--r-- | AssetLoader/interface/GLTFLoader.h | 4 |
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; |
