From 504270121090245cf15af8172efd09bc489b9556 Mon Sep 17 00:00:00 2001 From: Joey de Vries Date: Sun, 18 Dec 2016 11:45:35 +0100 Subject: [PATCH] Ambient light to correspond with tutorial's version. --- src/6.pbr/1.1.lighting/pbr.frag | 2 +- src/6.pbr/1.2.lighting_textured/pbr.frag | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/6.pbr/1.1.lighting/pbr.frag b/src/6.pbr/1.1.lighting/pbr.frag index 6945762..9aaca3f 100644 --- a/src/6.pbr/1.1.lighting/pbr.frag +++ b/src/6.pbr/1.1.lighting/pbr.frag @@ -116,7 +116,7 @@ void main() // ambient lighting (note that the next IBL tutorial will replace // this ambient lighting with environment lighting). - vec3 ambient = vec3(0.01) * albedo * ao; + vec3 ambient = vec3(0.03) * albedo * ao; vec3 color = ambient + Lo; diff --git a/src/6.pbr/1.2.lighting_textured/pbr.frag b/src/6.pbr/1.2.lighting_textured/pbr.frag index ee4b0f7..7f50426 100644 --- a/src/6.pbr/1.2.lighting_textured/pbr.frag +++ b/src/6.pbr/1.2.lighting_textured/pbr.frag @@ -143,7 +143,7 @@ void main() // ambient lighting (note that the next IBL tutorial will replace // this ambient lighting with environment lighting). - vec3 ambient = vec3(0.01) * albedo * ao; + vec3 ambient = vec3(0.03) * albedo * ao; vec3 color = ambient + Lo;