Ambient light to correspond with tutorial's version.

This commit is contained in:
Joey de Vries
2016-12-18 11:45:35 +01:00
parent 0f78bb69ae
commit 5042701210
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;