From 5a4a994bc8e7404b348fc6547d47c4749aecebd7 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Sat, 9 May 2020 20:22:09 -0400 Subject: [PATCH] Adjust lighting for gfbmdl --- Toolbox/Shader/GFBModel.frag | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Toolbox/Shader/GFBModel.frag b/Toolbox/Shader/GFBModel.frag index f5163f97..d242db4a 100644 --- a/Toolbox/Shader/GFBModel.frag +++ b/Toolbox/Shader/GFBModel.frag @@ -127,7 +127,7 @@ void main() vert.tangent = tangent; vert.binormal = binormal; - float specIntensity = 0.5f; + float specIntensity = 0.1f; // Wireframe color. if (colorOverride == 1) @@ -196,6 +196,8 @@ void main() vec3 diffuseTerm = diffuseIblColor * albedo; diffuseTerm *= kD; diffuseTerm *= ao; + diffuseTerm *= 1.1f; + // Adjust for metalness. diffuseTerm *= clamp(1 - metallic, 0, 1);