From f6a1e0d539a8395b1e7bcb6b508c34dde52c0ad2 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 3 May 2019 22:58:42 -0700 Subject: GLTF loader: fixed loading specular factor --- AssetLoader/interface/GLTFLoader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'AssetLoader/interface') 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 pSpecularGlossinessTexture; RefCntAutoPtr 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; -- cgit v1.2.3